• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creating segues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating segues


  • Subject: Creating segues
  • From: Carl Hoefs <email@hidden>
  • Date: Mon, 14 Sep 2015 14:38:14 -0700

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


  • Follow-Ups:
    • Re: Creating segues
      • From: Kyle Sluder <email@hidden>
    • Re: Creating segues
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Hotkeys for moving within source code/between editors?
  • Next by Date: Re: Creating segues
  • Previous by thread: Re: Can I use the same bundle ID for iOS and Mac apps?
  • Next by thread: Re: Creating segues
  • Index(es):
    • Date
    • Thread