摘要:
// 监听通知 NotificationCenter.default.addObserver(self, selector: #selector(LibraryAPI.downloadImage(_:)), name: NSNotification.Name(rawValue: downloadIm 阅读全文
阅读排行榜
思考
2015-08-19 21:14 by dengchaojie_learner, 134 阅读, 收藏,
摘要:
@property (retain, nonatomic) IBOutlet UITableView *bluetoothDeviceTable;@synthesize lblError;为什么@synthesizeViewController.mm- (void)viewDidUnload - (... 阅读全文
instancetype
2015-08-19 20:59 by dengchaojie_learner, 134 阅读, 收藏,
摘要:
+(instancetype)settingCellWithTableView:(UITableView *)tableView;2点好处:1、防止返回的类型不匹配;2、防止调用不是自己的方法(报错:找不到调用的方法)面试问:id和instancetype的区别:instancetype更严谨 阅读全文
浙公网安备 33010602011771号