Class

UIStoryboard

An encapsulation of the design-time view controller graph represented in an Interface Builder storyboard resource file.

Overview

A storyboard represents the view controllers for all or part of your app’s user interface. Typically, 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.

Topics

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.

Relationships

Inherits From

Conforms To

See Also

Storyboards

class UIStoryboardSegue

An object that prepares for and performs the visual transition between two view controllers.

class UIStoryboardUnwindSegueSource

An encapsulation of information about an unwind segue.