Selection ToolbarNew
Edit mode for any list: a top bar with the count, Select all and Done, an action bar, selection circles on rows, and Undo.
Pro pattern · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro pattern installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- Type
- SelectionToolbar
- Inside
- Selection circles, Rolling count and Select all, Share, Move and Delete, Undo after each action
- Install, with a Pro license
- npx swiftpieces add SelectionToolbar
- Depends on
- Pro's Design System, which installs with it
Select mode for a list or grid. A top bar takes the navigation bar's place with the count, Select all and Done, rows gain selection circles, and an action bar of Share, Move, Duplicate and Delete enables by count. Actions run your async closures with working shown in place, Delete confirms with the count, and a line confirms each result with Undo.
Its SwiftUI source comes with SwiftPieces Pro: Selection Toolbar in the Pro library.