SwiftUI Weekly - Issue #236
Swipe actions outside of List in SwiftUISwipe actions were a primary reason for using List in SwiftUI. As you may recall, I’ve mentioned several times that a scroll view paired with lazy stacks is the preferred approach in most scenarios, except when swipe actions are required. New SwiftUI APIs for reordering and drag and drop on iOS 27iOS 27 introduces new reordering APIs that work with any container. We can mark dynamic content with reorderable() and define the scope of the interaction with reorderContainer(for:). SwiftUI handles the drag preview, insertion placeholder, and drop animation, while our code applies the resulting change to the model. SwiftUI's new item based presentations in iOS 27At WWDC 2026, Apple introduced several small SwiftUI APIs that are easy to overlook. iOS 27 introduces item-based overloads for alerts and confirmation dialogs. WWDC26: SwiftUI Group Lab 2nd - Q&AThis lab focused on SwiftUI architecture, performance, navigation, Liquid Glass, layout, data flow, identity, type erasure, overlays, previews, animation, UIKit interop, and SwiftUI’s evolution. SwiftUI: Observable macro under the hoodWWDC 2023 brought one of the most significant shifts in how SwiftUI models are written. The @Observable macro, introduced as a part of a new Observation framework, replaces the old ObservableObject approach entirely and it does so in a way that’s both simpler to use and more efficient at runtime.
|