sourceController
The starting/containing view controller or window controller for the storyboard segue.
Declaration
var sourceController: Any { get }Discussion
In your storyboard segue subclass, you can read this property to get the starting/containing view controller or window controller for the segue.