`
lizhuang
  • 浏览: 903781 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Semantic Issue: Property's synthesized getter follows Cocoa naming convention fo

 
阅读更多
A property named newTitle, when synthesised, yields a method called -newTitle, hence the warning/error. -newTitle is supposed to be a getter method for the newTitle property, however naming conventions state that a method whose name begins with new returns an object that’s owned by the caller, which is not the case of getter methods.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics