Slather logo

Coverage for "NavigationController+Extension.swift" : 100.00%

(3 of 3 relevant lines covered)

RouteComposer/Classes/Extensions/NavigationController+Extension.swift

1
//
2
// RouteComposer
3
// NavigationController+Extension.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 Foundation
14
import UIKit
15
16
/// - The `UINavigationController` extension is to support the `ContainerViewController` protocol
17
extension UINavigationController: ContainerViewController {
18
19
    public var canBeDismissed: Bool {
108x
20
        viewControllers.canBeDismissed
108x
21
    }
108x
22
23
}