Code specification URL: http://www.csdn.net/article/2015-06-01/2824818-objective-c-style-guide
Https://github.com/VincentSit/NYTimes-Objective-C-Style-Guide-ZH
1, the number of lines of the method cannot be greater than 150,controller the number of file code lines cannot be greater than 800
2. #pragma mark Notes
Notes for the Controller
#pragma mark----lift cycle lifecycle---
#pragma mark----delegate view delegate---
#pragma mark----Event response events corresponding---
#pragma mark----Private methods method---
#pragma mark----getters and setters properties---
Comments for Views
#pragma the init view of the mark----initialized---
#pragma mark----delegate view delegate---
#pragma mark----Event response events corresponding---
#pragma mark----Private methods method---
#pragma mark----setters property---
#pragma mark----getters properties-
3. Code snippet for attribute comment
@property (Nullable, Nonatomic, ReadOnly) < #Class #> *< #obj #>; <##>
@property (Nullable, Nonatomic, ReadWrite) < #Class #> *< #obj #>; <##>
@property (Nullable, nonatomic, strong) < #Class #> *< #obj #>; <##>
@property (nullable, nonatomic, copy) < #Class #> *< #obj #>; <##>
@property (nullable, nonatomic, weak) < #Class #> *< #obj #>; <##>
@property (readonly, getter=is< #obj #>) BOOL < #obj #>; <##>
@property (null_resettable, nonatomic, Strong) < #Class #> *< #obj #>; <##>
@property (nonatomic) < #Class #> < #obj #>; <##>
@property (nonatomic, assign) < #Class #> < #obj #>; <##>
App-developed dry goods-1, code specification using OC