Re: Creating segues
Re: Creating segues
- Subject: Re: Creating segues
- From: Carl Hoefs <email@hidden>
- Date: Mon, 14 Sep 2015 15:50:52 -0700
> On Sep 14, 2015, at 3:41 PM, Kyle Sluder <email@hidden> wrote:
>
> On Mon, Sep 14, 2015, at 04: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.
>
> The interaction should be the same for all view controllers.
>
> What is the object you are control-dragging from, and where are you
> control-dragging to?
They're all vanilla UIViewControllers. I ctrl/drag from the view area onto another VC's view area, and it does not highlight. I ctrl/drag from the "View" entry in the (unnamed) left hand column of Scene objects, and nothing highlights either in that column or in any of the VC's on the storyboard.
It certainly sounds like it's not supposed to behave this way.
-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