property's synthesized getter follows Cocoa naming convention for returning 'owned' objects

因为苹果在新的编码,不推荐变量以new、copy等关键字开头。


一定要注意命名规范,不能以alloc,new,copy,mutableCopy 作为开头命名,比如:newPassword, 

你可能感兴趣的:(property's synthesized getter follows Cocoa naming convention for returning 'owned' objects)