Property follows Cocoa naming convention for returning 'owned' objects 错误解决办法
今天命名了一个变量,用了new开头,结果报了题目“PropertyfollowsCocoanamingconventionforreturning'owned'objects”错误。后来查了查原来是因为命名不规范造成的。Youcreateanobjectusingamethodwhosenamebeginswith“alloc”,“new”,“copy”,or“mutableCopy”(forex