SwiftUI Weekly - Issue #214
ReadingWhat's new in Swift 6.2?Raw identifiers, backtraces, task naming, and more. SwiftUI View Model OwnershipWhen we cover SwiftUI’s state system in our workshops, we often get asked: How can I set up my view model in a view? There’s a bit more to this question, so let’s try to spell out the requirements. Choosing between LazyVStack, List, and VStack in SwiftUISwiftUI offers several approaches to building lists of content. You can use a Formatting data inside SwiftUI Text viewsI’ve just started a new "Nil Coalescing" YouTube channel, and in the first video I take a closer look at how we can use Can You use PreferenceKeys for Testing SwiftUI ViewsOne afternoon I was experimenting with EnvironmentKeys—trying to drive navigation and coordinate between screens without resorting to imperative hacks. SwiftUI’s environment feels like a top‑down broadcast: you inject a value at the root, and child views pick it up. But what if you want the opposite? What if a child view could whisper something back up the tree? |