摘要: 1.用在.h 文件的@class 和.m文件的#import 替代 .h文件的#import 2.多用字面量 NSNumber *number =@1;替代 NSNumber *number = [NSNumber numberWithInt:1]; 3.多用类型常量,少用宏定义 static ns 阅读全文
posted @ 2016-06-27 14:29 春新 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 基本的属性和用法: _contentSwitch = [[HMSegmentedControl alloc] initWithSectionTitles:@[MGJLPLocalizedString(@"lifestyle_publish_what_i_posts", @"关注"), MGJLPLo 阅读全文
posted @ 2016-06-27 14:14 春新 阅读(949) 评论(0) 推荐(0) 编辑