Error:"Property follows Cocoa naming convention for returning 'owned' objects"
1.出现该问题的示例代码://新品图标@property(nonatomic,strong)UIImage*newGoodsImage;//新品Label@property(nonatomic,strong)UILabel*newGoodsLabel;2.报错的截图:图一3.解决办法:最简单的办法是修改我们定义属性的名称:不能以new,copy,alloc,等关键字开头!