SwiftUI's new `swipeActionsContainer` view modifier enables swipe actions outside of `List`, allowing developers to use them in scroll views, lazy stacks, and custom layouts. Previously, swipe actions were exclusive to `List`. By attaching `.swipeActionsContainer()` to any container and `.swipeActions` to individual items, you get native swipe behavior including single-row reveal, scroll-dismiss, and tap-outside-dismiss — without being forced to use `List`.
193 Impressions