> On Sep 14, 2015, at 4:01 PM, Kyle Sluder <[email protected]> wrote: > > On Mon, Sep 14, 2015, at 05:50 PM, Carl Hoefs wrote: >> >>> On Sep 14, 2015, at 3:41 PM, Kyle Sluder <[email protected]> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
