Chris Eidhof returns to the show to go on a deep dive into the SwiftUI layout system. What are the different phases involved in determining a given view’s layout, how do concepts like layout priorities and flexibility work, and what makes SwiftUI different from UIKit and AppKit in terms of layout?
Sponsor
NordVPN: Make your Internet connection private and secure, no matter which network that you’re on, and unlock your video streaming services. Get a massive 68% discount on their two-year plan, and extra free months, at nordvpn.com/sundell.
Does your company want to sponsor Swift by Sundell and reach tens of thousands of Swift developers like you? Check out this sponsorship page for more information.
Links
- Chris on Twitter
- John on Twitter
- objc.io
- Swift Talk
- The previous episode with Chris (and Matt Gallagher)
- Thinking in SwiftUI
- Elm
- Talk about Incremental
- The SwiftUI Lab
- Session 237 from WWDC 2019
- objc.io article about how HStack layouts are computed
- GeometryReader
- A guide to the SwiftUI layout system
- UICollectionViewFlowLayout
- Intro and outro music by Dariusz Dziuk