InspectableHierarchy

public protocol InspectableHierarchy : AnyObject

A protocol requiring its conformer to declare its UIViewController Hierarchy. Any custom UIViewController other than UINavigationController, UITabBarController containing a custom navigation should conform to this protocol.

  • The hierarchy of the visible stack.

    Declaration

    Swift

    var hierarchy: [UIViewController] { get }