kodecocodes / objective-c-style-guide

A style guide that outlines the coding conventions for Kodeco
http://www.raywenderlich.com/62570/objective-c-style-guide
3.1k stars 628 forks source link

Use style guide principles in examples #56

Open eliotfowler opened 10 years ago

eliotfowler commented 10 years ago

This may be a bit nit picky, but I think it would be an improvement if the principles in the document would be used in other principles examples.

For example, it is recommended that any property that has a mutable subclass (like NSString*), be declared with attributes nonatomic and copy. However, in most (if not all) of the other examples on the page, NSString is declared with nonatomic and strong.