borisovodov / TreePicker

SwiftUI tree picker for selecting options from hierarchical data.
https://swiftpackageindex.com/borisovodov/TreePicker
MIT License
2 stars 0 forks source link
hierarchical-data ios macos picker selector swiftui tree-structure treeselect

TreePicker

A pack of SwiftUI tree pickers that provide selecting options from hierarchical data. Pickers work on iOS, iPadOS and visionOS. Library hasn't third-party dependencies.

TreeMultiPicker example

Latest release Build and test status Swift versions Available platforms

Features

TreePicker package has several tree pickers for different selection value: exactly one selected value, optional value and set of values. Use TreeSinglePicker, TreeOptionalPicker and TreeMultiPicker respectively.

Work with hierarchical data, it's children and selection is similar to SwiftUI hierarchical List. Additionaly you can specify selection method. Next methods available:

Usage

See the documentation.