• 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
Re: Creating segues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating segues


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

> On Sep 14, 2015, at 4:01 PM, Kyle Sluder <email@hidden> wrote:
>
> On Mon, Sep 14, 2015, at 05:50 PM, Carl Hoefs wrote:
>>
>>> On Sep 14, 2015, at 3:41 PM, Kyle Sluder <email@hidden> wrote:
>>>
>>> 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.
>
> There are two ways to define a segue whose source view controller is a
> plain UIViewController:
>
> 1. Start your drag from a control. That control will trigger the segue.
>
> 2. Start your drag from the view controller's proxy (either in the top
> shelf of a scene or in the Object Hierarchy sidebar on the canvas). This
> segue can only be triggered from code, via the
> -performSegueWithIdentifier:sender: method.

Okay, dragging from the view controller's proxy works consistently. I guess I was exploiting undocumented/obsolete Xcode GUI behavior and getting away with it until now.
Thanks, Kyle. That's exactly what I was looking for!
-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: Quincey Morris <email@hidden>
References: 
 >Creating segues (From: Carl Hoefs <email@hidden>)
 >Re: Creating segues (From: Kyle Sluder <email@hidden>)
 >Re: Creating segues (From: Carl Hoefs <email@hidden>)
 >Re: Creating segues (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Creating segues
  • Next by Date: Re: Creating segues
  • Previous by thread: Re: Creating segues
  • Next by thread: Re: Creating segues
  • Index(es):
    • Date
    • Thread