A property named newTitle, when synthesised, yields a method called -newTitle, hence the warning/error. -newTitle is supposed to be a getter method for the newTitle property, however naming conventions state that a method whose name begins with new returns an object that’s owned by the caller, which is not the case of getter methods.
Semantic Issue: Property's synthesized getter follows Cocoa naming convention fo
最新推荐文章于 2022-08-13 11:25:54 发布