Skip to content

Releases: insub4067/SwiftUINavigator

0.3.1

15 Oct 05:41
Compare
Choose a tag to compare
hot fix

0.3.0

15 Oct 04:19
Compare
Choose a tag to compare

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

14 Oct 21:36
Compare
Choose a tag to compare

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)