Re: NSPanel nib with NSWindowController
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.