Modern Auto Layout.zip
What's In The Book? How did layout work before Auto Layout? Using autoresizing masks How to subclass UIView and make friends with layoutSubviews How to build programmatic layouts without storyboards What is Auto Layout? What is a constraint? Who owns a constraint? How many constraints do I need? The many ways to create and edit a constraint Viewing layout warnings and errors Interface Builder tips and tricks How best to activate and deactivate constraints Disabling the autoresizing mask (you will forget) Creating constraints with NSLayoutConstraint, Visual Format Language and Layout Anchors Which should you use? (Take a guess...) Safe area layout guides - embrace the notch! Layout margins everywhere Layout guides... goodbye spacer views? Layout priorities - as close as possible please... Intrinsic content size - the natural size Content mode - fit, fill, redraw... Content hugging and compression resistance - don't stretch me, don't squeeze me! Get started with stack views... ...then dive deeper Dynamically updating stack views Adding background views Stack view oddities - nobody's perfect The layout pass - what's going on? Why you probably don't need updateConstraints Animating constraints Get fancy with custom layouts Alignment rectangles - bring back the shadow Unsatisfiable constraints How to add identifiers to views and constraints Ambiguous layouts - tell me more! Using the view debugger Private debug methods - keep them to yourself. Layout loops...layout loops...layout loops
- 1
- 粉丝: 0
- 资源: 24
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助