Releases: insub4067/SwiftUINavigator
Releases · insub4067/SwiftUINavigator
0.3.1
0.3.0
Full Changelog: 0.2.1...0.3.0
What has changed?
Support functional programming
Example
SwiftUIView()
.asViewController()
.title("SwiftUIView")
.backgroundColor(.gray)
.hidesBottomBarWhenPushed(true)
0.2.1
What has changed?
New Feature: You can pop with SwiftUI View name
func pop(to identifier: String, animated: Bool = true)
,
func pop(toOneOf controllers: AnyClass..., animated: Bool = true)
Example
navigator?.pop(to: "RootView")
navigator?.pop(toOneOf: "RootView", "HomeView", "MainView)