The ending/contained view controller or window controller for the storyboard segue.
- macOS 10.10+
In your storyboard segue subclass, you can read this property to get the ending/contained view controller or window controller for the segue. This property is essential if you override the
prepare(for: method of the
NSSegue protocol, to let you pass configuration data to the ending/contained controller.