Instance Property

storyboard

The storyboard from which the view controller originated.

Declaration

var storyboard: UIStoryboard? { get }

Discussion

If the view controller was not instantiated from a storyboard, this property is nil.

See Also

Getting the Storyboard and Nib Information

var nibName: String?

The name of the view controller'€™s nib file, if one was specified.

var nibBundle: Bundle?

The view controller'€™s nib bundle if it exists.