- iOS Programming Cookbook
- Hossam Ghareeb
- 113字
- 2021-07-09 18:29:49
Working with stack views
UIStackView is one of the coolest features introduced in iOS 9.0 for developers. It was a hassle to arrange groups of views horizontally or vertically. You had to get your hands dirty with a lot of Auto Layout constraints to arrange these views properly. UIStackView makes arranging subviews horizontally or vertically easier without you worrying about Auto Layout. Although you don't need to use Auto Layout to arrange your views, as its UIStackview's job, you still need to use Auto Layout to define position and size of the stack view itself. If you're still not convinced about the magic that UIStackView does, you have to give it a shot.
推薦閱讀
- Linux運(yùn)維之道(第3版)
- Learning Android Intents
- SharePoint 2013 WCM Advanced Cookbook
- Linux Shell編程從入門(mén)到精通(第2版)
- 深入Linux內(nèi)核架構(gòu)與底層原理(第2版)
- STM32庫(kù)開(kāi)發(fā)實(shí)戰(zhàn)指南:基于STM32F4
- Mobile First Design with HTML5 and CSS3
- Mastering Reactive JavaScript
- 操作系統(tǒng)分析
- Mastering Sass
- Gradle Effective Implementations Guide(Second Edition)
- 微軟360度
- Docker for Developers
- 物聯(lián)網(wǎng)操作系統(tǒng)AliOS Things探索與實(shí)踐
- Linux內(nèi)核設(shè)計(jì)的藝術(shù):圖解Linux操作系統(tǒng)架構(gòu)設(shè)計(jì)與實(shí)現(xiàn)原理(第2版)