IOS-property's synthesized getter follows Cocoa naming convention for returning 'owned' objects

http://stackoverflow.com/questions/6327448/semantic-issue-propertys-synthesized-getter-follows-cocoa-naming-convention-fo

 

You take ownership of an object if you create it using a method whose name begins with “alloc”, “new”, “copy”, or “mutableCopy”.

posted on 2012-08-21 15:17  tx天翔  阅读(933)  评论(0编辑  收藏  举报