Property's synthesized getter follows Cocoa naming convention for returning.

Property's synthesized getter follows Cocoa naming convention for returning.

今天早上在整理代码的时候发现了如上警告。

在网上查询后发现,是因为苹果在新的编码,不推荐变量以new、copy等关键字开头。

你可能感兴趣的:(property,synthesized)