I understand how to create a segue in XCode 4.2 by right clicking a control, let's say a button, and dragging it to a view controller in the storyboard.
What I would like to do is create a segue that is not tied to a control, and must be invoked programmatically so I can do something like this:
- (void)viewDidLoad
{
if (condition)
{
[self performSegueWithIdentifier: @"identifier" sender: self];
}
}
while still defining the "identifier" segue within Interface Builder. Is this possible?