• 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: Karl Moskowski <email@hidden>
  • Date: Fri, 27 Mar 2015 10:07:19 -0400

> On Mar 27, 2015, at 10:01 AM, Roland King <email@hidden> wrote:
>
>
>> 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

I’m not sure. It was a while ago.

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

Thanks, Roland.

----
Karl Moskowski <email@hidden>
<http://about.me/kolpanic>


 _______________________________________________
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


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

  • Prev by Date: Re: OS X Storyboard & Cross-Scene iBOutlet?
  • Next by Date: Bogus static-analyzer warning "Incorrect decrement of the reference count of an object..."
  • Previous by thread: Re: OS X Storyboard & Cross-Scene iBOutlet?
  • Next by thread: Bogus static-analyzer warning "Incorrect decrement of the reference count of an object..."
  • Index(es):
    • Date
    • Thread