UIStoryboard

  • SwifterSwift: Get main storyboard for application

    Declaration

    Swift

    public static var mainStoryboard: UIStoryboard?
  • SwifterSwift: Get main storyboard for application

    Declaration

    Swift

    public static var main: UIStoryboard?
  • SwifterSwift: Instantiate a UIViewController using its class name

    Declaration

    Swift

    public func instantiateViewController<T: UIViewController>(withClass name: T.Type) -> T?

    Parameters

    name

    UIViewController type

    Return Value

    The view controller corresponding to specified class name