SwiftUI Weekly - Issue #231
The curated collection of links about SwiftUI. Delivered every Monday.
Building List replacement in SwiftUI
Whenever you consider creating a scrollable screen in SwiftUI, you might think of using a List. However, it’s not always the best choice. Lists are great for displaying uniform data. For anything else, a ScrollView with a lazy stack is almost always the best option. This week, we will learn how to build a custom scrollable container in SwiftUI with precise control of look and feel.
Talking Liquid Glass with Apple
I spent three days talking Liquid Glass with Apple in NYC. Here’s what you need to know.
Expanding Animations in SwiftUI Lists
Ever tried to add a simple expand/collapse animation to a SwiftUI List and watched in horror as your beautiful animation turned into a janky mess? You’re not alone. I faced this issue a couple of months ago and thanks to Donny Wals, I decided to publish my findings.
SwiftUI View Lifecycle: When onAppear Actually fires
onAppear has had genuinely unpredictable moments across SwiftUI’s lifetime — firing twice, firing in unexpected order, not firing when you’d swear it should. For an API that every app relies on, that’s a problem.
How to support dark mode in SwiftUI programmatically
Learn how to improve type safety when working with semantic colors.
