iOS开发 error: property's synthesized getter follows Cocoa naming convention for returning 'owned' obj
今天遇到一个错误,分享下:error:property'ssynthesizedgetterfollowsCocoanamingconventionforreturning'owned'objects简单说错误是因为命名不规范的原因,命名不能以new,copy等开头。在stackoverflow看到的是这样说的Youtakeownershipofanobjectifyoucreateitusing