OC中定义属性不能以 new、copy、alloc等关键字开头

如果我们定义属性以new、copy、alloc等关键词开头!!会报错。

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

 

 

posted on 2015-12-03 18:31  森code  阅读(351)  评论(0编辑  收藏  举报