@property (nonatomic, strong) UITextField * newPswTextField;
报错
Property follows Cocoa naming convention for returning 'owned' objects
原因是命名使用了"new",命名不规范的原因
改成
@property (nonatomic, strong) UITextField * pswTextField;
就好了
@property (nonatomic, strong) UITextField * newPswTextField;
报错
Property follows Cocoa naming convention for returning 'owned' objects
原因是命名使用了"new",命名不规范的原因
改成
@property (nonatomic, strong) UITextField * pswTextField;
就好了
本文标题:Property follows Cocoa naming co
本文链接:https://www.haomeiwen.com/subject/jiuuohtx.html
网友评论