Swipe Actions Beyond Lists in SwiftUI
Learn how to use the new swipeActionsContainer modifier in SwiftUI to enable swipe actions beyond lists, and see them in action on items presented in a grid.
Tutorials, practical guides, and more about the SwiftUI framework.
View all SwiftUI tutorialsLearn how to use the new swipeActionsContainer modifier in SwiftUI to enable swipe actions beyond lists, and see them in action on items presented in a grid.
Read how to reorder items in SwiftUI lists and grids using the new reorderable and reorderContainer APIs introduced at WWDC26.
Learn how to add haptic feedback to SwiftUI apps using the sensoryFeedback modifier and explore common and lesser-known feedback styles that make interactions more engaging.
Discover how SwiftUI provides built-in formatting support that makes it easy to display and edit numbers, currencies, dates, measurements, and more directly in Text and TextField views.
Explore practical ways to indicate selection in macOS menus using SwiftUI, including buttons, pickers, and toggles for both toolbar and main menu.
Discover how to animate SF Symbols using the new draw effects and apply gradient rendering to system icons in SwiftUI.
Learn how to morph a sheet directly out of the button that presents it using a new SwiftUI transition introduced in iOS 26.
Explore how to create custom file types recognizable by the system and enable automatic opening in SwiftUI.
Learn how to allow single row selection in SwiftUI lists on macOS, enable actions on double-click, and present a context-menu on right-click at the same time.
Find out how to enable pinch-to-zoom interaction in your SwiftUI views with the magnify gesture and explore all the essential details you need to know about it.