Called immediately prior to the performance of a storyboard segue.
- macOS 10.10+
The string that identifies the segue to be performed.
Using the Interface Builder inspector, provide a unique identifier string for each segue in a storyboard. The system provides a segue’s identifier to this parameter when it calls this method. The identifier string is used to locate the segue inside the storyboard file that contains the view controller.
The object that initiated the segue. This object is made available for informational purposes during the segue.
true to allow a segue to proceed or
false to stop it from proceeding.
Override this method to return
false for cases where you want to prevent the performance of a segue. By default, invocation of a segue results in the segue being performed.