Posted on December 17th 2020 by Chris Eidhof
Over the last few months, we have been busy updating our book, Thinking in SwiftUI. Today, we’re glad to release it as a free update, improved and expanded for the latest version of SwiftUI.
The new version refines existing explanations and adds sections for new features. Writing the original book, we decided to focus on the essence of SwiftUI, and luckily very little has changed: if you have read the first edition, you will be well-prepared for any upcoming changes.
The most important additions include:
We learned a lot more about SwiftUI’s layout system while working on SwiftUI Layout Explained, our latest Swift Talk collection. The series helped us improve our explanations of both stack views and layout priorities. Reimplementing the most important parts of SwiftUI’s layout system, and heavily testing the results, gave us a unique insight into how things actually work.
Finally, we have added an expanded section about data flow in views, describing the differences between displaying values and objects, as well as discussing ownership in depth. This includes an explanation of how to choose between @StateObject
, @ObservedObject
, @State
and @Binding
.
This update is free for everyone who bought the Ebook directly (through our sales partner, Gumroad), either standalone or as part of a bundle.
Happy holidays! 🍷
Florian and Chris
by Chris Eidhof and Florian Kugler
Updated for iOS 14
$39
Stay up-to-date with our newsletter or follow us on Twitter.
Dec 17th, 2020
Updated for iOS 14
Nov 27th, 2020
30% on everything until Monday
Nov 23rd, 2020
How grids lay out their content.
Browse the Archive
objc.io publishes books, videos, and articles on advanced techniques for iOS and macOS development.
Learn
Follow
More