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. 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?

----
Karl Moskowski <[email protected]>
<http://about.me/kolpanic>


 _______________________________________________
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]

Reply via email to