Merge branch 'master' of github.com:peter-iakovlev/Display

This commit is contained in:
Ilya Laktyushin
2018-09-12 16:34:57 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -816,6 +816,9 @@ open class NavigationController: UINavigationController, ContainableController,
var poppedControllers: [UIViewController] = []
var found = false
var controllers = self.viewControllers
if !controllers.contains(where: { $0 === viewController }) {
return nil
}
while !controllers.isEmpty {
if controllers[controllers.count - 1] === viewController {
found = true

View File

@@ -78,7 +78,7 @@ open class ViewControllerPresentationArguments {
return self.preferNavigationUIHidden
}
public private(set) var presentationArguments: Any?
public var presentationArguments: Any?
public var tabBarItemDebugTapAction: (() -> Void)?