diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 53dab836..0d97e125 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Nivelir (1.9.2) + - Nivelir (1.9.3) - SnapKit (5.6.0) DEPENDENCIES: diff --git a/Nivelir.podspec b/Nivelir.podspec index 7d6a7009..02195f88 100644 --- a/Nivelir.podspec +++ b/Nivelir.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "Nivelir" - spec.version = "1.9.2" + spec.version = "1.9.3" spec.summary = "A Swift DSL for navigation in iOS and tvOS apps with a simplified, chainable, and compile time safe syntax." spec.homepage = "https://github.com/hhru/Nivelir" diff --git a/Nivelir.xcodeproj/project.pbxproj b/Nivelir.xcodeproj/project.pbxproj index 32bef21e..ddd5082a 100755 --- a/Nivelir.xcodeproj/project.pbxproj +++ b/Nivelir.xcodeproj/project.pbxproj @@ -3392,7 +3392,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.9.2; + MARKETING_VERSION = 1.9.3; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; PRODUCT_BUNDLE_IDENTIFIER = ru.hh.Nivelir; @@ -3424,7 +3424,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.9.2; + MARKETING_VERSION = 1.9.3; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; PRODUCT_BUNDLE_IDENTIFIER = ru.hh.Nivelir; @@ -3492,7 +3492,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.9.2; + MARKETING_VERSION = 1.9.3; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; PRODUCT_BUNDLE_IDENTIFIER = ru.hh.Nivelir; @@ -3524,7 +3524,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.9.2; + MARKETING_VERSION = 1.9.3; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++14"; PRODUCT_BUNDLE_IDENTIFIER = ru.hh.Nivelir; diff --git a/README.md b/README.md index d395ae03..c68e2fbc 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ The [Swift Package Manager](https://swift.org/package-manager/) is a tool for ma To integrate Nivelir into your Xcode project using Swift Package Manager, add the following as a dependency to your `Package.swift`: ``` swift -.package(url: "https://github.com/hhru/Nivelir.git", from: "1.9.2") +.package(url: "https://github.com/hhru/Nivelir.git", from: "1.9.3") ``` Then specify `"Nivelir"` as a dependency of the Target in which you wish to use Nivelir. @@ -53,7 +53,7 @@ let package = Package( .library(name: "MyPackage", targets: ["MyPackage"]) ], dependencies: [ - .package(url: "https://github.com/hhru/Nivelir.git", from: "1.9.2") + .package(url: "https://github.com/hhru/Nivelir.git", from: "1.9.3") ], targets: [ .target(name: "MyPackage", dependencies: ["Nivelir"]) @@ -71,7 +71,7 @@ $ brew install carthage To integrate Nivelir into your Xcode project using Carthage, specify it in your `Cartfile`: ``` ogdl -github "hhru/Nivelir" ~> 1.9.2 +github "hhru/Nivelir" ~> 1.9.3 ``` Finally run `carthage update` to build the framework and drag the built `Nivelir.framework` into your Xcode project. @@ -89,7 +89,7 @@ platform :ios, '13.0' use_frameworks! target '' do - pod 'Nivelir', '~> 1.9.2' + pod 'Nivelir', '~> 1.9.3' end ``` diff --git a/Sources/Screen/Actions/Generic/ScreenNavigateAction.swift b/Sources/Screen/Actions/Generic/ScreenNavigateAction.swift index c6f777c5..cbb0ae63 100644 --- a/Sources/Screen/Actions/Generic/ScreenNavigateAction.swift +++ b/Sources/Screen/Actions/Generic/ScreenNavigateAction.swift @@ -76,12 +76,20 @@ extension ScreenNavigator { public func navigate( to route: (_ route: ScreenWindowRoute) -> ScreenRouteConvertible, - completion: Completion? = nil + completion: Completion? ) { navigate( to: route(.initial).route(), completion: completion ) } + + public func navigate( + to route: (_ route: ScreenWindowRoute) -> ScreenRouteConvertible + ) { + navigate( + to: route(.initial).route() + ) + } } #endif