• 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: NSViewController and IB -- what am I missing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSViewController and IB -- what am I missing?


  • Subject: Re: NSViewController and IB -- what am I missing?
  • From: Andrew Merenbach <email@hidden>
  • Date: Fri, 1 Feb 2008 19:03:50 -0800

I will see the outlet at times, as it turns out, but when I reopen the file the outlet is grayed-out, with an exclamation mark instead of a filled-in circle, in the Connections pane of the Inspector. Does your experience persist through document reopening? Also, for the record, I'm using xib files instead of nib files in my project (although I know that they both compile to similar nibs in the product).

Cheers,
	Andrew

On Feb 1, 2008, at 1:28 PM, j o a r wrote:


On Jan 31, 2008, at 9:19 AM, Andrew Merenbach wrote:

I was thrilled to see the new NSViewController class in Leopard. I can't, however, get a subclass to work in what I consider to be a "proper" manner. When I subclass NSViewController and set File's Owner in IB 3 to be of that subclass, the "view" IBOutlet fails to appear, unless File's Owner is in fact a straight NSViewController -- not a subclass. I've looked over the reference docs and the "ViewController" sample code that Apple provides, but without a solution. Also, a search of the CocoaBuilder archives for xcode- users failed to bring anything up.


I can't reproduce this - or at least I think that it depends on where you're looking for the outlet.
When I right-click on the files owner set to my custom view controller subclass I do see the view outlet.


j o a r



_______________________________________________ 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: 
 >Re: NSViewController and IB -- what am I missing? (From: j o a r <email@hidden>)

  • Prev by Date: Include external dependency headers via sub-project?
  • Next by Date: gdb can't resolve breakpoints
  • Previous by thread: Re: NSViewController and IB -- what am I missing?
  • Next by thread: XCode and application crashes
  • Index(es):
    • Date
    • Thread