对比分析Objective_C和Swift懒加载的区别

用OC代码懒加载一个UILabel @interface ViewControlle () @property (nonatomic,strong)UILabel *label; @end @implementation ViewControlle2r //懒加载Label - (UILabel *)label { if (_label == nil) { _label
相关文章
相关标签/搜索