Slather logo

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

(3 of 3 relevant lines covered)

RouteComposer/Classes/Extensions/SplitViewController+Extension.swift

1
//
2
// RouteComposer
3
// SplitViewController+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 `UISplitViewController` extension is to support the `ContainerViewController` protocol
17
extension UISplitViewController: ContainerViewController {
18
19
    public var canBeDismissed: Bool {
6x
20
        viewControllers.canBeDismissed
6x
21
    }
6x
22
23
}