Instance Property

sourceController

The starting/containing view controller or window controller for the storyboard segue.

Declaration

@property(readonly, strong) id sourceController;

Discussion

In your storyboard segue subclass, you can read this property to get the starting/containing view controller or window controller for the segue.

See Also

Inspecting a Storyboard Segue

destinationController

The ending/contained view controller or window controller for the storyboard segue.

identifier

An optional, unique identifier for the storyboard segue that you can specify using the Identity inspector in Interface Builder.