编码规范
2019-06-05 本文已影响0人
iOS白水
1.h 向前声明
@class UIView, UIImage;
2.接口 空格
@interface AppDelegate : UIResponder <UIApplicationDelegate, UITableViewDataSource>
3.属性
@property (nonatomic, copy) NSString *productID;
1.h 向前声明
@class UIView, UIImage;
2.接口 空格
@interface AppDelegate : UIResponder <UIApplicationDelegate, UITableViewDataSource>
3.属性
@property (nonatomic, copy) NSString *productID;