rebeloper / NavigationKit

🧭 SwiftUI navigation done right
176 stars 15 forks source link

Is readme not up to date ? #8

Closed X901 closed 3 years ago

X901 commented 3 years ago

in your readme you said use

NavigationKitView { }

but when I use it it said isActive is required "Missing argument for parameter 'isActive' in call"

and also it show error "Cannot find type 'Navigation' in scope" !!

rebeloper commented 3 years ago

Hi I have moved NavigationKit into SwiftUIPlus: https://github.com/rebeloper/SwiftUIPlus

Now you have only one View to call for all types of navigations: https://github.com/rebeloper/SwiftUIPlus/blob/main/Sources/SwiftUIPlus/Navigation/Page.swift

X901 commented 3 years ago

Could you give me a full example ? I just won't to return to RootView from 4th view without re-build RootView