iOS: fix property from assign to copy

This commit is contained in:
pengfei.zhou 2020-12-10 09:50:09 +08:00 committed by osborn
parent ac2a4121c2
commit 967ad27a22

View File

@ -42,8 +42,8 @@ - (void)drawTextInRect:(CGRect)rect {
@interface DoricTextNode () @interface DoricTextNode ()
@property(nonatomic, strong) NSMutableParagraphStyle *paragraphStyle; @property(nonatomic, strong) NSMutableParagraphStyle *paragraphStyle;
@property(nonatomic, assign) NSNumber *underline; @property(nonatomic, copy) NSNumber *underline;
@property(nonatomic, assign) NSNumber *strikethrough; @property(nonatomic, copy) NSNumber *strikethrough;
@end @end
@implementation DoricTextNode @implementation DoricTextNode