• 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: NSPanel nib with NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPanel nib with NSWindowController


  • Subject: Re: NSPanel nib with NSWindowController
  • From: Chuck Soper <email@hidden>
  • Date: Thu, 14 Aug 2003 10:56:49 -0700

I agree with you and that's why I thought what I was trying to do should have been no problem. The nib loads properly, but the window outlet for the controller is nil, yet in IB my panel is connected to the window outlet for the controller. That outlet is supposed to be an NSWindow not an NSPanel, but I really thought a panel would be okay. I'm going to double check everything.

At 1:48 PM -0400 8/14/03, publiclook wrote:
I am not sure I understand your question, but all NSPanels ARE NSWindows. That is the nature of subclass to superclass relationships. You should be able to use a panel in any situation where you could use a window, but the opposite is not necessarily true.


On Thursday, August 14, 2003, at 01:09 PM, Chuck Soper wrote:

Can I have a nib that contains a panel (with no window) whose File's
Owner is a NSWindowController subclass?

Whenever I add a new application-based window (that has a fair amount
of GUI) to my application, I put it in its own nib file and make the
File's Owner a custom subclass of NSWindowController. This works
great. Now I want to do the same thing, but with an NSPanel.



[Deleted]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSPanel nib with NSWindowController
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: NSPanel nib with NSWindowController (From: publiclook <email@hidden>)

  • Prev by Date: Re: NSPanel nib with NSWindowController
  • Next by Date: CFSocketCallBack
  • Previous by thread: Re: NSPanel nib with NSWindowController
  • Next by thread: Re: NSPanel nib with NSWindowController
  • Index(es):
    • Date
    • Thread