iOS开发-property follows cocoa naming convention for returning 'owned' objects

error:property follows cocoa naming convention for returning 'owned' objects

property的命名使用了cocoa的命名约定,也就是property的命名开头使用了保留字new、copy等,如copyString、newString等。

这些命名是不可以使用的,把property的名字改一下就行了。

猜你喜欢

转载自blog.csdn.net/qq_36557133/article/details/90558672
今日推荐