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

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

今天写代码,无意中发现警告出现,看了看没有语法错误,百思不得其解,然后仔细一看,O(∩_∩)O~

定义变量名时再变量名前不要使用new、copy等关键字开头

然后,就没有然后了。。。。记录下

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