SwiftUI Weekly - Issue #125
The curated collection of links about SwiftUI. Delivered every Monday.
Kaleidoscope gives you power tools to use at each stage of the development cycle. Compare source code, resolve git merge conflicts, debug with the kspo command, and check your XCTest results. Get 20% off by using coupon SwiftUIWeekly.
During the last weeks, we covered many aspects of building custom layouts using the new Layout protocol in SwiftUI. But we still have a lot to cover. This week we will learn how to use the LayoutValueKey protocol to pass custom layout parameters while composing views in the custom layout.
I wrote an app for observing how various SwiftUI constructs and container views affect view lifecycles, including the lifetime of state.
How to choose between SwiftUI vs. Storyboard for developing iOS and iPadOS GUI components. Pros, Cons, and Comparison of Swift.
Learn how to add and remove a badge on List rows.
Observe how different SwiftUI container views affect state and lifecycle events (onAppear, onDisappear).
Learn how you can capitalize the power of enums and the new NavigationStack in iOS 16 to streamline and manage your navigation.