Re: Creating segues
Re: Creating segues
- Subject: Re: Creating segues
- From: Alex Zavatone <email@hidden>
- Date: Mon, 14 Sep 2015 17:45:49 -0400
I'm assuming iOS here.
Have you done the little "select your first screen and then select Embed in > Navigation Controller" from the Editor menu in the storyboard?
Until you've done it a few times, it's real easy to miss.
Until you've done that, the IB won't let you drag segues and sadly, it won't tell you that you need to do that.
Hope that's it.
Alex Zavatone
On Sep 14, 2015, at 5:38 PM, Carl Hoefs wrote:
> Xcode 6.4
>
> How does one create a segue from a non-initial view controller to another view controller?
>
> I have an InitialVC:UIViewController and I can connect any number of other VC's to it with control drag:
>
> InitialVC
> / \
> A_VC B_VC . . .
>
> I've assigned an identifier to each of the segues and can invoke them to bring up A_VC or B_VC at runtime with -performSegueWithIdentifier:. So far so good. But now I need to have segues going from A_VC to C_VC, D_VC, etc:
>
> InitialVC
> / \
> A_VC B_VC . . .
> / \
> C_VC D_VC
>
> Xcode refuses to allow me to connect A_VC to C_VC or D_VC with control-drag. The blue line just vanishes. It doesn't matter what type of segue goes from InitialVC to A_VC (push, replace, modal, etc).
>
> I must be missing something real obvious here.
> -Carl
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden