Re: OS X Storyboard & Cross-Scene iBOutlet?
Re: OS X Storyboard & Cross-Scene iBOutlet?
- Subject: Re: OS X Storyboard & Cross-Scene iBOutlet?
- From: Roland King <email@hidden>
- Date: Fri, 27 Mar 2015 22:01:18 +0800
> On 27 Mar 2015, at 21:51, Karl Moskowski <email@hidden> wrote:
>
> I’ve been prototyping aspects of a new app project. It’s going to be Yosemite-only, so I figured I’d give it a go with all the new stuff: Swift, storyboards, new APIs.
>
> As expected, it’s not possible to connect an IBOutlet in one object to an object in another scene in a storyboard. I've read, however, that IB will let you do so when there’s a containment relationship—e.g., from a UISplitViewController to an object in one of its subviews.
I don’t know where you read that - I don’t think that’s the case
> Xcode "knows about” these special cases of containment. However, I have a NSTabViewController subclass as the owner for a scene that contains two tab views, and Xcode won’t let me connect a property in the NSTabViewController object to a UI element in one of its tab views because they’re in different scenes.
>
> Is this a bug? Because of the containment, should Xcode allow it?
Don’t think it’s a bug, don’t think it’s allowed.
>
> ----
_______________________________________________
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