On Jun 15, 2017, at 03:50 PM, Quincey Morris 
<[email protected]> wrote:

Can’t you solve it by putting two different segues in the storyboard, from the 
same source VC?

I'm not sure how to add a 2nd one from a common source. When I try 
right-dragging from the embedding view to the 2nd target VC, it deletes the 
segue already wired to the 1st target VC.
 
If you’re initiating the segue in code, then choose which one to perform at 
time of initiation.

If you’re initiating the segue from a UI element that is configured with one 
specific segue identifier, I’d try overriding [UIViewController 
performSegueWithIdentifier:sender:] and invoke super with either of two 
different segue identifiers.

I tried overriding performSegueWithIdentifier:sender:, but it never gets 
called. I'm not sure if it makes a difference, but this is an Embed segue that 
I'm trying to control. I can segue to the master view controller just fine, but 
it's an embedded one that I want to have control over. I might have to run the 
embed segue from code instead of letting the storyboard handle it.

I hate being a newbie at stuff like this. :)

Sent from iCloud's ridiculous UI, so, sorry about the formatting

 
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to