代码组织
在函数分组和protocol/delegate 实现中使用 #pragma mark -来分类方法,要遵循以下结构
#pragma mark - lifeCycle
#pragma mark - custom Accessors
#pragma mark - IBActions
#pragma mark - public
#pragma mark - private
#pragma mark - protocol
#pragma mark - delegate
#pragma mark - NSCopying
#pragma mark - NSObject
网友评论