1 |
//
|
|
2 |
// RouteComposer
|
|
3 |
// NavigationControllerStep.swift
|
|
4 |
// https://github.com/ekazaev/route-composer
|
|
5 |
//
|
|
6 |
// Created by Eugene Kazaev in 2018-2022.
|
|
7 |
// Distributed under the MIT license.
|
|
8 |
//
|
|
9 |
// Become a sponsor:
|
|
10 |
// https://github.com/sponsors/ekazaev
|
|
11 |
//
|
|
12 |
|
|
13 |
import UIKit
|
|
14 |
|
|
15 |
/// Default navigation container step
|
|
16 |
public final class NavigationControllerStep<VC: UINavigationController, Context>: SingleContainerStep<NilFinder<VC, Context>, NavigationControllerFactory<VC, Context>> {
|
|
17 |
|
|
18 |
// MARK: Methods
|
|
19 |
|
|
20 |
/// Constructor
|
|
21 |
public init() {
|
22x |
22 |
super.init(finder: NilFinder(), factory: NavigationControllerFactory<VC, Context>())
|
22x |
23 |
}
|
22x |
24 |
|
|
25 |
}
|
|