UIViewController

class UIViewController : UIResponder, NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment
  • ViewController identifier

    Declaration

    Swift

    public static var identifier: String { get }
  • Presents viewController using default paramters.

    Declaration

    Swift

    open func present<T>(element: T.Type, storyboard: UIStoryboard? = nil, animated: Bool = true) where T : UIViewController

    Parameters

    element

    Generic type UIViewController

    storyboard

    optional storyboard. Default element.storyboard

    animated

    default = true