A set of methods that support the mediation of a custom segue.
- macOS 10.10+
When you subclass
NSStoryboard to express a custom transition or containment relationship between storyboard scenes, you might also want to provide code that prepares the destination/contained view or window controller object. Put this code in an override of the
To conditionally disallow the performance of a segue, override the
should method, returning
NO.If you need to programmatically trigger a segue that cannot be expressed in a storyboard file, such as a transition between scenes in different storyboards, use the
perform method in this protocol.