1
This commit is contained in:
@@ -43,6 +43,10 @@ typedef NS_ENUM(NSInteger, KBAIReplyFooterState) {
|
|||||||
/// 是否已点赞
|
/// 是否已点赞
|
||||||
@property(nonatomic, assign) BOOL liked;
|
@property(nonatomic, assign) BOOL liked;
|
||||||
|
|
||||||
|
|
||||||
|
@property(nonatomic, assign) NSString *replyToUserId;
|
||||||
|
@property(nonatomic, assign) NSString *replyToUserName;
|
||||||
|
|
||||||
/// 创建时间(时间戳)
|
/// 创建时间(时间戳)
|
||||||
@property(nonatomic, assign) NSTimeInterval createTime;
|
@property(nonatomic, assign) NSTimeInterval createTime;
|
||||||
|
|
||||||
|
|||||||
@@ -59,6 +59,9 @@
|
|||||||
if (!_content) {
|
if (!_content) {
|
||||||
_content = @"";
|
_content = @"";
|
||||||
}
|
}
|
||||||
|
if (!_replyToUserName) {
|
||||||
|
_replyToUserName = @"";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (instancetype)init {
|
- (instancetype)init {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property(nonatomic, copy) NSString *content;
|
@property(nonatomic, copy) NSString *content;
|
||||||
|
|
||||||
/// 被回复的用户名(@xxx)
|
/// 被回复的用户名(@xxx)
|
||||||
@property(nonatomic, copy, nullable) NSString *replyToUserName;
|
@property(nonatomic, copy) NSString *replyToUserName;
|
||||||
|
|
||||||
/// 点赞数
|
/// 点赞数
|
||||||
@property(nonatomic, assign) NSInteger likeCount;
|
@property(nonatomic, assign) NSInteger likeCount;
|
||||||
|
|||||||
@@ -55,6 +55,9 @@
|
|||||||
if (!_content) {
|
if (!_content) {
|
||||||
_content = @"";
|
_content = @"";
|
||||||
}
|
}
|
||||||
|
if ([_content isEqualToString:@"78910"]) {
|
||||||
|
NSLog(@"===");
|
||||||
|
}
|
||||||
if (!_replyToUserName) {
|
if (!_replyToUserName) {
|
||||||
_replyToUserName = @"";
|
_replyToUserName = @"";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user