Performs the specified segue.
- macOS 10.10+
The string that uniquely identifies the segue in the storyboard file.
In Interface Builder, you can provide an identifier string to a segue using the inspector. Pass this string to this parameter.
The object that you want to use to initiate the segue. This parameter makes the object available to your implementation during the segue.
Apps typically do not need to trigger segues programmatically. If needed, you can call this method to trigger a segue for an action that cannot be expressed in a storyboard file, such as a transition between scenes in different storyboards.
Typically, a segue is triggered by a user action, such as clicking a button. In Interface Builder, configure an object, such as a control embedded in the view controller’s view hierarchy, to trigger the segue.