Custom Sidebar for SwiftUI using UISplitViewController
ThripleColumnSidebar
Custom Sidebar for SwiftUI using UISplitViewController.
Usage:
Sidebar {
Text("Something")
.navigationTitle("Master")
} detail: {
Text("Detail")
.navigationTitle("Detail")
} secondary: {
Text("Secondary")
.navigationTitle("Secondary")
}
.splitViewPreferredDisplayMode(
.oneBesideSecondary
)
Screen.Recording.2022-07-16.at.21.22.37.mov