This package offers support for SwiftUI project navigation for macOS and iOS. At the core is a file tree navigator that can be used inside a NavigationView. The package consists of two libraries: (1) Files and (2) ProjectNavigator.


The Files library serves as the model representing a file tree that can be marshalled from and to FileWrappers. Individual files and folders are also assigned UUIDs with support to persist the assignment. This is useful to support persistent view and other configuration.


The FileNavigator view provides navigation to associated files inside an enclosing NavigationView. Both navigation labels as well as the navigation destination view are freely configurable.


View Github