nullable: 表示对象可以为空
下面是三种写法:
@property(nullable,nonatomic,strong) NSString*name;
@property(nonatomic,strong)NSString* _Nullable name;
@property(nonatomic,strong)NSString* __nullablename;
nullable: 表示对象可以为空
下面是三种写法:
@property(nullable,nonatomic,strong) NSString*name;
@property(nonatomic,strong)NSString* _Nullable name;
@property(nonatomic,strong)NSString* __nullablename;