• 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: OS X Storyboard & Cross-Scene iBOutlet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: OS X Storyboard & Cross-Scene iBOutlet?
      • From: Karl Moskowski <email@hidden>
References: 
 >OS X Storyboard & Cross-Scene iBOutlet? (From: Karl Moskowski <email@hidden>)

  • Prev by Date: OS X Storyboard & Cross-Scene iBOutlet?
  • Next by Date: Re: OS X Storyboard & Cross-Scene iBOutlet?
  • Previous by thread: OS X Storyboard & Cross-Scene iBOutlet?
  • Next by thread: Re: OS X Storyboard & Cross-Scene iBOutlet?
  • Index(es):
    • Date
    • Thread