Contents

0xOpenBytes/OpenBytesNavigation

πŸ“š Easy-to-use navigation system for SwiftUI apps

Usage

To use OpenBytesNavigation, you need to create an instance of OpenBytesNavigationPath, which keeps track of the navigation state. You can then use the OpenBytesNavigationView view to display your content and provide navigation functionality.

import OpenBytesNavigation
import SwiftUI

struct ContentView: View {
    @ObservedObject private var path = OpenBytesNavigationPath(id: "path_id")

    var body: some View {
        OpenBytesNavigationView(path: path) {
            // your content here
        }
    }
}

Package Metadata

Repository: 0xOpenBytes/OpenBytesNavigation

Homepage: https://0xopenbytes.github.io/OpenBytesNavigation/

Stars: 2

Forks: 0

Open issues: 1

Default branch: main

Primary language: swift

License: MIT

Topics: alert, ios, macos, modal, navigation, navigationpath, navigationstack, swift, swiftui, toast, tvos, watchos

README: README.md