代码改变世界

阅读排行榜

swift开发笔记10

2017-08-11 14:01 by dengchaojie_learner, 146 阅读, 收藏,
摘要: //cell的经典配置 var model: Interest! { didSet { updateUI() } } func updateUI() -> Void { self.myImageView.image = model.featuredImage self.myLable.text = 阅读全文

Crashes

2018-01-24 15:58 by dengchaojie_learner, 145 阅读, 收藏,
摘要: 阅读全文

swift开发笔记29

2018-02-09 18:09 by dengchaojie_learner, 143 阅读, 收藏,
摘要: 当一个数组中包含多种数据类型时,且需要访问元素(对象)的同一种属性(例如Date),可以定一个协议,让每个元素去遵守和实现协议方法。例如: protocol DateSortable { var date: Date { get } } init(landingDate: Date = Date(t 阅读全文

contentMode

2017-12-26 10:11 by dengchaojie_learner, 142 阅读, 收藏,
摘要: scaleAspectFill:The option to scale the content to fill the size of the view. Some portion of the content may be clipped to fill the view’s bounds. 保持 阅读全文

Linux命令

2018-04-02 13:57 by dengchaojie_learner, 141 阅读, 收藏,
摘要: #!/usr/bin/expect -f #!/usr/bin/scp spawn scp xxx.ipa root@x.x.x.x:/x/x/ expect { "(yes/no)?" {send "yes\r"; exp_continue} "password:" {send "xxxxxx\r 阅读全文
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 54 下一页