RoutingInterceptable
public protocol RoutingInterceptable : UIViewController
UIViewController
that conforms to this protocol may overtake the control of the view controllers stack and
forbid the Router
to dismiss or cover itself with another view controller.
Return false if the view controller can be dismissed.
-
true: if a view controller can be dismissed or covered by the
Router
, false otherwise.Declaration
Swift
var canBeDismissed: Bool { get }
-
overriddenParentViewController
Default implementationReturns
UIViewController
thatRouter
should consider as a parentUIViewController
. It may be useful to override it when you are building complicated customContainerViewController
s.Default Implementation
Default implementation returns regular
UIViewController.parent
Declaration
Swift
var overriddenParentViewController: UIViewController? { get }