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

司马渝
2023-12-01

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


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

 类似资料:

相关阅读

相关文章

相关问答