A UIStoryboard object encapsulates the view controller graph stored in an Interface Builder storyboard resource file. This view controller graph represents the view controllers for all or part of your application’s user interface. Normally, view controllers in a storyboard are instantiated and created automatically in response to actions defined within the storyboard itself. However, you can use a storyboard object to instantiate the initial view controller in a storyboard file or instantiate other view controllers that you want to present programmatically.


Getting a Storyboard Object

init(name: String, bundle: Bundle?)

Creates and returns a storyboard object for the specified storyboard resource file.

Instantiating Storyboard View Controllers

func instantiateInitialViewController()

Instantiates and returns the initial view controller in the view controller graph.

func instantiateViewController(withIdentifier: String)

Instantiates and returns the view controller with the specified identifier.


Inherits From

Conforms To