Skip to content

Commit 368d283

Browse files
committed
update NIMLinkModel
1 parent 5cbc3b8 commit 368d283

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

NIMKit/NIMKit/Classes/Sections/Model/NIMMessageModel.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@
1212

1313
@interface NIMLinkModel : NSObject
1414

15-
@property (nonatomic,copy) NSString *title;
16-
@property (nonatomic,copy) NSString *linkValue;
15+
@property (nonatomic,copy, nonnull) NSString *title;
16+
@property (nonatomic,copy, nonnull) NSString *linkValue;
1717
@property (nonatomic,assign) NSRange range;
1818

1919
@end
2020

2121
@interface NIMLinkModelPraserResult : NSObject
2222

23-
@property (nonatomic,strong) NSArray<NIMLinkModel *> *links;
24-
@property (nonatomic,strong) NSString *text;
23+
@property (nonatomic,strong, nonnull) NSArray<NIMLinkModel *> *links;
24+
@property (nonatomic,strong, nonnull) NSString *text;
2525

2626
+ (nonnull NIMLinkModelPraserResult *) praser:(NSString *)text;
2727

2828
@end
2929

3030

31+
3132
@interface NIMMessageModel : NSObject
3233

3334
/**

0 commit comments

Comments
 (0)