Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a7a8570c
由
cgx
编写于
2022-04-28 16:04:50 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
完成删除用户反馈并修复左滑删除按钮在iOS13系统及以上显示bug
1 个父辈
cb6adc91
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
110 行增加
和
42 行删除
DreamSleep/DreamSleep/Profile/Feedback/FeedbackController.m
DreamSleep/DreamSleep/Profile/Feedback/FeedbackRequestModel.m
DreamSleep/DreamSleep/Profile/Feedback/MyFeedCell.h
DreamSleep/DreamSleep/Profile/Feedback/MyFeedCell.m
DreamSleep/DreamSleep/Profile/Feedback/MyFeedListController.h
DreamSleep/DreamSleep/Profile/Feedback/MyFeedListController.m
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/Contents.json
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/done_reply.png
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/done_reply@2x.png
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/done_reply@3x.png
DreamSleep/DreamSleep/Profile/Feedback/FeedbackController.m
查看文件 @
a7a8570
...
@@ -47,6 +47,8 @@ static int AlbumColumnCount = 4;
...
@@ -47,6 +47,8 @@ static int AlbumColumnCount = 4;
[
self
.
view
addSubview
:
self
.
commitBtn
];
[
self
.
view
addSubview
:
self
.
commitBtn
];
[
self
layoutUI
];
[
self
layoutUI
];
[
self
getUnreadMessageRequest
];
}
}
-
(
void
)
viewDidDisappear
:
(
BOOL
)
animated
{
-
(
void
)
viewDidDisappear
:
(
BOOL
)
animated
{
...
@@ -99,16 +101,6 @@ static int AlbumColumnCount = 4;
...
@@ -99,16 +101,6 @@ static int AlbumColumnCount = 4;
[
self
.
feedTV
endEditing
:
YES
];
[
self
.
feedTV
endEditing
:
YES
];
}
}
-
(
void
)
getUnreadMessageRequest
{
[
FeedbackRequestModel
queryUserTotalReplysRequest
:
^
(
FeedbackRequestModel
*
_Nonnull
requestModel
)
{
if
(
requestModel
.
resCode
==
DSResCodeSuccess
)
{
self
.
unreadCount
=
requestModel
.
unreadCount
;
self
.
redLab
.
text
=
[
NSString
stringWithFormat
:
@"%d"
,
self
.
unreadCount
];
self
.
redLab
.
hidden
=
self
.
unreadCount
==
0
;
}
}];
}
-
(
void
)
deleteBtnClick
:
(
UIButton
*
)
sender
{
-
(
void
)
deleteBtnClick
:
(
UIButton
*
)
sender
{
[
_selectedPhotos
removeObjectAtIndex
:
sender
.
tag
];
[
_selectedPhotos
removeObjectAtIndex
:
sender
.
tag
];
[
_selectedAssets
removeObjectAtIndex
:
sender
.
tag
];
[
_selectedAssets
removeObjectAtIndex
:
sender
.
tag
];
...
@@ -257,6 +249,17 @@ static int AlbumColumnCount = 4;
...
@@ -257,6 +249,17 @@ static int AlbumColumnCount = 4;
}
}
}
}
#pragma mark - 获取我的反馈回复数据
-
(
void
)
getUnreadMessageRequest
{
[
FeedbackRequestModel
queryUserTotalReplysRequest
:
^
(
FeedbackRequestModel
*
_Nonnull
requestModel
)
{
if
(
requestModel
.
resCode
==
DSResCodeSuccess
)
{
self
.
unreadCount
=
requestModel
.
unreadCount
;
self
.
redLab
.
text
=
[
NSString
stringWithFormat
:
@"%d"
,
self
.
unreadCount
];
self
.
redLab
.
hidden
=
self
.
unreadCount
==
0
;
}
}];
}
#pragma mark - 图片上传
#pragma mark - 图片上传
-
(
void
)
uploadImgsWithPhotos
:
(
NSArray
<
UIImage
*>
*
)
photos
picker
:
(
TZImagePickerController
*
)
picker
{
-
(
void
)
uploadImgsWithPhotos
:
(
NSArray
<
UIImage
*>
*
)
photos
picker
:
(
TZImagePickerController
*
)
picker
{
// 1、处理图片
// 1、处理图片
...
...
DreamSleep/DreamSleep/Profile/Feedback/FeedbackRequestModel.m
查看文件 @
a7a8570
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
//
//
#import "FeedbackRequestModel.h"
#import "FeedbackRequestModel.h"
#import "MyFeedModel.h"
@implementation
FeedbackRequestModel
@implementation
FeedbackRequestModel
...
@@ -31,9 +32,14 @@
...
@@ -31,9 +32,14 @@
NSString
*
argStr
=
[
NSString
stringWithFormat
:
@"query{%@(user_id:%d)}"
,
api
,
user_id
];
NSString
*
argStr
=
[
NSString
stringWithFormat
:
@"query{%@(user_id:%d)}"
,
api
,
user_id
];
return
[
self
httpPostBodyRequestWithAPI
:
api
params
:@{
@"query"
:
argStr
}
view
:
nil
hasNetActivity
:
YES
loadingInfo
:
nil
hasFailInfo
:
YES
success
:^
(
NSDictionary
*
_Nonnull
apiDic
)
{
return
[
self
httpPostBodyRequestWithAPI
:
api
params
:@{
@"query"
:
argStr
}
view
:
nil
hasNetActivity
:
YES
loadingInfo
:
nil
hasFailInfo
:
YES
success
:^
(
NSDictionary
*
_Nonnull
apiDic
)
{
DSLog
(
@"用户反馈建议列表接口apiDic:%@"
,
apiDic
);
DSLog
(
@"用户反馈建议列表接口apiDic:%@"
,
apiDic
);
// 字典转模型
NSArray
*
resultArr
=
[
apiDic
valueForKey
:
@"result"
];
NSMutableArray
*
tmpArr
=
[
NSMutableArray
array
];
[
resultArr
enumerateObjectsUsingBlock
:
^
(
id
_Nonnull
obj
,
NSUInteger
idx
,
BOOL
*
_Nonnull
stop
)
{
NSDictionary
*
listDic
=
obj
;
MyFeedModel
*
feedModel
=
[
MyFeedModel
yy_modelWithDictionary
:
listDic
];
[
tmpArr
addObject
:
feedModel
];
}];
requestModel
.
adviceListArr
=
[
tmpArr
copy
];
requestModel
.
resCode
=
DSResCodeSuccess
;
requestModel
.
resCode
=
DSResCodeSuccess
;
completion
(
requestModel
);
completion
(
requestModel
);
}
failure
:^
(
id
_Nonnull
failureInfo
)
{
}
failure
:^
(
id
_Nonnull
failureInfo
)
{
...
@@ -80,7 +86,7 @@
...
@@ -80,7 +86,7 @@
FeedbackRequestModel
*
requestModel
=
[[
FeedbackRequestModel
alloc
]
init
];
FeedbackRequestModel
*
requestModel
=
[[
FeedbackRequestModel
alloc
]
init
];
NSString
*
api
=
@"query_user_total_replys"
;
NSString
*
api
=
@"query_user_total_replys"
;
NSString
*
argStr
=
[
NSString
stringWithFormat
:
@"query{%@}"
,
api
];
NSString
*
argStr
=
[
NSString
stringWithFormat
:
@"query{%@}"
,
api
];
return
[
self
httpPostBodyRequestWithAPI
:
api
params
:@{
@"query"
:
argStr
}
view
:
nil
hasNetActivity
:
YES
loadingInfo
:
nil
hasFailInfo
:
YES
success
:^
(
NSDictionary
*
_Nonnull
apiDic
)
{
return
[
self
httpPostBodyRequestWithAPI
:
api
params
:@{
@"query"
:
argStr
}
view
:
nil
hasNetActivity
:
YES
loadingInfo
:
nil
hasFailInfo
:
NO
success
:^
(
NSDictionary
*
_Nonnull
apiDic
)
{
DSLog
(
@"用户反馈数接口apiDic:%@"
,
apiDic
);
DSLog
(
@"用户反馈数接口apiDic:%@"
,
apiDic
);
// 未读的回复数
// 未读的回复数
int
unreadCount
=
[
apiDic
[
@"result"
]
intValue
];
int
unreadCount
=
[
apiDic
[
@"result"
]
intValue
];
...
...
DreamSleep/DreamSleep/Profile/Feedback/MyFeedCell.h
查看文件 @
a7a8570
...
@@ -8,6 +8,10 @@ static NSString *const cardRadiusCellIdentifier = @"cardRadiusCellIdentifier";
...
@@ -8,6 +8,10 @@ static NSString *const cardRadiusCellIdentifier = @"cardRadiusCellIdentifier";
@interface
MyFeedCell
:
UITableViewCell
@interface
MyFeedCell
:
UITableViewCell
@property
(
nonatomic
,
strong
)
MyFeedModel
*
model
;
-
(
void
)
updateUI
:(
MyFeedModel
*
)
model
;
@end
@end
NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_END
DreamSleep/DreamSleep/Profile/Feedback/MyFeedCell.m
查看文件 @
a7a8570
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
@interface
MyFeedCell
()
@interface
MyFeedCell
()
@property
(
nonatomic
,
strong
)
UIImageView
*
replyStatusIV
;
@property
(
nonatomic
,
strong
)
UIImageView
*
replyStatusIV
;
@property
(
nonatomic
,
strong
)
UILabel
*
redLab
;
@property
(
nonatomic
,
strong
)
UILabel
*
titleLab
;
@property
(
nonatomic
,
strong
)
UILabel
*
titleLab
;
@property
(
nonatomic
,
strong
)
UILabel
*
contentLab
;
@property
(
nonatomic
,
strong
)
UILabel
*
contentLab
;
@property
(
nonatomic
,
strong
)
UILabel
*
createdDate
;
@property
(
nonatomic
,
strong
)
UILabel
*
createdDate
;
...
@@ -14,12 +15,11 @@
...
@@ -14,12 +15,11 @@
self
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
self
.
selectionStyle
=
UITableViewCellSelectionStyleNone
;
self
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
VCViewBG
);
self
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
VCViewBG
);
[
self
.
contentView
addSubview
:
self
.
redLab
];
[
self
.
contentView
addSubview
:
self
.
replyStatusIV
];
[
self
.
contentView
addSubview
:
self
.
replyStatusIV
];
[
self
.
contentView
addSubview
:
self
.
titleLab
];
[
self
.
contentView
addSubview
:
self
.
titleLab
];
[
self
.
contentView
addSubview
:
self
.
createdDate
];
[
self
.
contentView
addSubview
:
self
.
createdDate
];
[
self
.
contentView
addSubview
:
self
.
contentLab
];
[
self
.
contentView
addSubview
:
self
.
contentLab
];
[
self
updateUI
];
}
}
return
self
;
return
self
;
}
}
...
@@ -46,16 +46,34 @@
...
@@ -46,16 +46,34 @@
}];
}];
}
}
-
(
void
)
updateUI
{
-
(
void
)
updateUI
:
(
MyFeedModel
*
)
model
{
self
.
replyStatusIV
.
image
=
[
UIImage
imageNamed
:
@"waiting_reply"
];
// 红点是指已回复了但用户未阅读
if
(
model
.
reply_status
==
1
&&
model
.
read_status
==
0
)
{
self
.
redLab
.
hidden
=
NO
;
self
.
replyStatusIV
.
hidden
=
YES
;
self
.
titleLab
.
text
=
@"新回复"
;
self
.
titleLab
.
text
=
@"新回复"
;
}
else
{
self
.
redLab
.
hidden
=
YES
;
self
.
replyStatusIV
.
hidden
=
NO
;
NSString
*
title
=
@""
;
NSString
*
icon
=
@""
;
if
(
model
.
reply_status
==
0
)
{
title
=
@"待回复"
;
icon
=
@"waiting_reply"
;
}
else
if
(
model
.
reply_status
==
1
)
{
title
=
@"已回复"
;
icon
=
@"done_reply"
;
}
self
.
titleLab
.
text
=
title
;
self
.
replyStatusIV
.
image
=
[
UIImage
imageNamed
:
icon
];
}
[
self
.
titleLab
sizeToFit
];
[
self
.
titleLab
sizeToFit
];
self
.
createdDate
.
text
=
@"06-21 22:00"
;
self
.
createdDate
.
text
=
model
.
created_at
;
[
self
.
createdDate
sizeToFit
];
[
self
.
createdDate
sizeToFit
];
self
.
contentLab
.
text
=
@"睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠睡眠"
;
self
.
contentLab
.
text
=
model
.
content
;
}
}
#pragma mark - lazy
#pragma mark - lazy
...
...
DreamSleep/DreamSleep/Profile/Feedback/MyFeedListController.h
查看文件 @
a7a8570
...
@@ -6,8 +6,10 @@
...
@@ -6,8 +6,10 @@
@end
@end
@interface
MyFeedListController
:
UIViewController
@interface
MyFeedListController
:
UIViewController
@property
(
nonatomic
,
weak
)
id
<
MyFeedListControllerDelegate
>
delegate
;
@property
(
nonatomic
,
weak
)
id
<
MyFeedListControllerDelegate
>
delegate
;
-
(
instancetype
)
initWithDelegate
:(
id
<
MyFeedListControllerDelegate
>
)
delegate
;
-
(
instancetype
)
initWithDelegate
:(
id
<
MyFeedListControllerDelegate
>
)
delegate
;
@end
@end
DreamSleep/DreamSleep/Profile/Feedback/MyFeedListController.m
查看文件 @
a7a8570
...
@@ -25,16 +25,22 @@
...
@@ -25,16 +25,22 @@
self
.
view
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
VCViewBG
);
self
.
view
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
VCViewBG
);
[
self
.
view
addSubview
:
self
.
feedbackIV
];
[
self
.
view
addSubview
:
self
.
feedbackIV
];
// WS(weakSelf);
WS
(
weakSelf
);
// self.feedbackIV.mj_header = [DSGifHeader headerWithRefreshingBlock:^{
self
.
feedbackIV
.
mj_header
=
[
DSGifHeader
headerWithRefreshingBlock
:
^
{
// [weakSelf.feedbackIV.mj_header endRefreshing];
[
FeedbackRequestModel
queryUserAdviceListWithCompletion
:
^
(
FeedbackRequestModel
*
_Nonnull
requestModel
)
{
// }];
[
weakSelf
.
feedbackIV
.
mj_header
endRefreshing
];
// [self.feedbackIV.mj_header beginRefreshing];
if
(
requestModel
.
resCode
==
DSResCodeSuccess
)
{
weakSelf
.
listData
=
requestModel
.
adviceListArr
;
[
weakSelf
.
feedbackIV
reloadData
];
}
}];
}];
[
self
.
feedbackIV
.
mj_header
beginRefreshing
];
}
}
#pragma mark - UITableViewDelegate && UITableViewDataSource
#pragma mark - UITableViewDelegate && UITableViewDataSource
-
(
NSInteger
)
tableView
:
(
UITableView
*
)
tableView
numberOfRowsInSection
:
(
NSInteger
)
section
{
-
(
NSInteger
)
tableView
:
(
UITableView
*
)
tableView
numberOfRowsInSection
:
(
NSInteger
)
section
{
return
10
;
return
self
.
listData
.
count
;
}
}
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
...
@@ -57,19 +63,21 @@
...
@@ -57,19 +63,21 @@
return
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
10
,
7
.
5
)];
return
[[
UIView
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
10
,
7
.
5
)];
}
}
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
UITableViewCell
*
)
tableView
:
(
UITableView
*
)
tableView
cellForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
MyFeedCell
*
cell
=
[
tableView
dequeueReusableCellWithIdentifier
:
cardRadiusCellIdentifier
];
MyFeedCell
*
cell
=
[
tableView
dequeueReusableCellWithIdentifier
:
cardRadiusCellIdentifier
];
MyFeedModel
*
model
=
self
.
listData
[
indexPath
.
row
];
[
cell
updateUI
:
model
];
return
cell
;
return
cell
;
}
}
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
//
MyFeedModel *model = self.listData[indexPath.row];
MyFeedModel
*
model
=
self
.
listData
[
indexPath
.
row
];
//
if (model.read_status == 0) {
if
(
model
.
read_status
==
0
)
{
//
model.read_status = 1;
model
.
read_status
=
1
;
//
if (self.delegate && [self.delegate respondsToSelector:@selector(didClickMessage)]) {
if
(
self
.
delegate
&&
[
self
.
delegate
respondsToSelector
:
@selector
(
didClickMessage
)])
{
//
[self.delegate didClickMessage];
[
self
.
delegate
didClickMessage
];
//
}
}
//
}
}
FeedbackDetailController
*
detailVC
=
[
FeedbackDetailController
new
];
FeedbackDetailController
*
detailVC
=
[
FeedbackDetailController
new
];
[
self
.
navigationController
pushViewController
:
detailVC
animated
:
YES
];
[
self
.
navigationController
pushViewController
:
detailVC
animated
:
YES
];
...
@@ -92,18 +100,27 @@
...
@@ -92,18 +100,27 @@
}
}
-
(
NSArray
*
)
tableView
:
(
UITableView
*
)
tableView
editActionsForRowAtIndexPath
:
(
nonnull
NSIndexPath
*
)
indexPath
{
-
(
NSArray
*
)
tableView
:
(
UITableView
*
)
tableView
editActionsForRowAtIndexPath
:
(
nonnull
NSIndexPath
*
)
indexPath
{
NSMutableArray
*
mArr
=
[
NSMutableArray
arrayWithArray
:
self
.
listData
];
MyFeedModel
*
model
=
self
.
listData
[
indexPath
.
row
];
UITableViewRowAction
*
deleteAction
=
[
UITableViewRowAction
rowActionWithStyle
:
UITableViewRowActionStyleNormal
title
:
@"删除按钮宽度"
handler
:^
(
UITableViewRowAction
*
action
,
NSIndexPath
*
indexPath
)
{
UITableViewRowAction
*
deleteAction
=
[
UITableViewRowAction
rowActionWithStyle
:
UITableViewRowActionStyleNormal
title
:
@"删除按钮宽度"
handler
:^
(
UITableViewRowAction
*
action
,
NSIndexPath
*
indexPath
)
{
// 删除反馈请求
// 删除反馈请求
[
DSProgressHUD
showProgressHUDWithInfo
:
@""
];
[
DSProgressHUD
showProgressHUDWithInfo
:
@""
];
[
FeedbackRequestModel
deleteAdviceFeedbackWithAdviceID
:
3
completion
:
^
(
FeedbackRequestModel
*
_Nonnull
requestModel
)
{
[
FeedbackRequestModel
deleteAdviceFeedbackWithAdviceID
:
model
.
feed_id
completion
:
^
(
FeedbackRequestModel
*
_Nonnull
requestModel
)
{
[
DSProgressHUD
dissmissProgressHUD
];
[
DSProgressHUD
dissmissProgressHUD
];
if
(
requestModel
.
resCode
==
DSResCodeSuccess
)
{
if
(
requestModel
.
resCode
==
DSResCodeSuccess
)
{
[
DSProgressHUD
showToast
:
@"删除成功"
];
[
DSProgressHUD
showToast
:
@"删除成功"
];
[
mArr
removeObjectAtIndex
:
indexPath
.
row
];
self
.
listData
=
[
mArr
copy
];
[
tableView
reloadData
];
}
}
}];
}];
// 这句很重要,退出编辑模式,隐藏左滑菜单
// 这句很重要,退出编辑模式,隐藏左滑菜单
[
tableView
setEditing
:
NO
animated
:
YES
];
[
tableView
setEditing
:
NO
animated
:
YES
];
}];
}];
// 主动调用代理方法,防止快速滑动时显示原生
[
self
tableView
:
self
.
feedbackIV
willBeginEditingRowAtIndexPath
:
indexPath
];
return
@[
deleteAction
];
return
@[
deleteAction
];
}
}
...
@@ -144,11 +161,6 @@
...
@@ -144,11 +161,6 @@
}
}
-
(
void
)
setupRowActionView
:
(
UIView
*
)
rowActionView
{
-
(
void
)
setupRowActionView
:
(
UIView
*
)
rowActionView
{
CGRect
frame
=
rowActionView
.
frame
;
frame
.
origin
.
y
+=
(
7
.
5
);
frame
.
size
.
height
-=
(
15
);
rowActionView
.
frame
=
frame
;
rowActionView
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
VCViewBG
);
rowActionView
.
dk_backgroundColorPicker
=
DKColorPickerWithKey
(
VCViewBG
);
// 拿到原来的删除按钮
// 拿到原来的删除按钮
...
@@ -156,7 +168,7 @@
...
@@ -156,7 +168,7 @@
oriDeleteBtn
.
hidden
=
YES
;
oriDeleteBtn
.
hidden
=
YES
;
// 自定义删除按钮
// 自定义删除按钮
UIButton
*
cusDeleteBtn
=
[[
UIButton
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
oriDeleteBtn
.
width
-
15
,
oriDeleteBtn
.
height
)];
UIButton
*
cusDeleteBtn
=
[[
UIButton
alloc
]
initWithFrame
:
CGRectMake
(
0
,
7
.
5
,
oriDeleteBtn
.
width
-
15
,
oriDeleteBtn
.
height
-
15
)];
[
cusDeleteBtn
cornerRadius
:
12
];
[
cusDeleteBtn
cornerRadius
:
12
];
cusDeleteBtn
.
dk_backgroundColorPicker
=
DKColorPickerWithColors
(
DSWhite
,
CornerViewDarkColor
,
DSWhite
);
cusDeleteBtn
.
dk_backgroundColorPicker
=
DKColorPickerWithColors
(
DSWhite
,
CornerViewDarkColor
,
DSWhite
);
[
cusDeleteBtn
dk_setImage
:
DKImagePickerWithNames
(
@"delete_feed_icon"
,
@"dk_delete_feed_icon"
,
@"delete_feed_icon"
)
forState
:
UIControlStateNormal
];
[
cusDeleteBtn
dk_setImage
:
DKImagePickerWithNames
(
@"delete_feed_icon"
,
@"dk_delete_feed_icon"
,
@"delete_feed_icon"
)
forState
:
UIControlStateNormal
];
...
...
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/Contents.json
0 → 100644
查看文件 @
a7a8570
{
"images"
:
[
{
"filename"
:
"done_reply.png"
,
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"done_reply@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"done_reply@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/done_reply.png
0 → 100644
查看文件 @
a7a8570
691 字节
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/done_reply@2x.png
0 → 100644
查看文件 @
a7a8570
1.5 KB
DreamSleep/DreamSleep/Resource/Assets.xcassets/Feed/done_reply.imageset/done_reply@3x.png
0 → 100644
查看文件 @
a7a8570
2.7 KB
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论