swift中的懒加载
//静态的,外界不能访问
private lazy var button:UIButton = UIButton()
//形式
lazy var 名字:类型 = 类创建
swift中的懒加载
//静态的,外界不能访问
private lazy var button:UIButton = UIButton()
//形式
lazy var 名字:类型 = 类创建
转载于:https://www.cnblogs.com/TheYouth/p/6435630.html