导航

2015年9月2日 #

Moving Swiftly(从OC切换到Swift)

摘要: Moving SwiftlyMoving Swiftly(从OC到swift)Swift1.0 not funTrouble1.source compatibility代码兼容性2.swift->Xcode->iOS 版本依赖Salt in the wound伤口上撒盐error reporting 错误提示错误提示改进swift2.0Think about the good times好处呢?M... 阅读全文

posted @ 2015-09-02 15:11 淅沥枫 阅读(532) 评论(0) 推荐(0) 编辑

How to Use updateConstraints(什么时候该使用updateConstraints)

摘要: How to Use updateConstraintsHow to Use updateConstraints(怎么使用updateConstraints)problemdoc saystough thingsdoc says again(wwdc2015)conclusion结论原文链接:How to Use updateConstraints(怎么使用updateConstraints)pr... 阅读全文

posted @ 2015-09-02 01:50 淅沥枫 阅读(1251) 评论(0) 推荐(0) 编辑

Don’t Put View Code Into Your View Controller别把View创建的代码放在VC中(swift)

摘要: Don’t Put View Code Into Your View Controller别把View创建的代码放在VC中Don’t Put View Code Into Your View Controller别把View创建的代码放在VC中The ViewThe View Controller原文链接代码Don’t Put View Code Into Your View Controller... 阅读全文

posted @ 2015-09-02 01:30 淅沥枫 阅读(325) 评论(0) 推荐(0) 编辑

Where-To-Put-The-Auto-Layout-Code(AutoLayout代码应该放在哪里?)

摘要: Where-To-Put-The-Auto-Layout-CodeWhere To Put The Auto Layout Code将AutoLayout的代码放在哪里?参考文档A参考文档B结论原文链接Where To Put The Auto Layout Code将AutoLayout的代码放在哪里?Auto Layout is kind of magic. Like a sorcerer y... 阅读全文

posted @ 2015-09-02 00:08 淅沥枫 阅读(213) 评论(0) 推荐(0) 编辑