對比分析Objective_C和Swift懶加載的區別

用OC代碼懶加載一個UILabel @interface ViewControlle () @property (nonatomic,strong)UILabel *label; @end @implementation ViewControlle2r //懶加載Label - (UILabel *)label { if (_label == nil) { _label
相關文章
相關標籤/搜索