现在都使用ARC进行iOS开发,所以属性命名不能使用new开始,否则会出现如下错误
Property’s synthesized getter follows Cocoa naming convention for returning ‘owned’ objects”
参考 http://blog.csdn.net/yiyaaixuexi/article/details/7351104
现在都使用ARC进行iOS开发,所以属性命名不能使用new开始,否则会出现如下错误
Property’s synthesized getter follows Cocoa naming convention for returning ‘owned’ objects”
参考 http://blog.csdn.net/yiyaaixuexi/article/details/7351104