• 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: Bill Cheeseman <email@hidden>
  • Date: Thu, 14 Aug 2003 14:19:20 -0400

on 03-08-14 1:56 PM, Chuck Soper at email@hidden wrote:

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

In IB's Info panel for the panel (window), is the Custom Class set to
NSPanel? It should be. And then the "window" outlet will indicate that it is
connected to an NSPanel object, as it should. Since an NSPanel object _is_
an NSWindow object in panel's clothing, so to speak, it's perfectly fine for
the "window" outlet to refer to a panel.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.

References: 
 >Re: NSPanel nib with NSWindowController (From: Chuck Soper <email@hidden>)

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