Re: Having trouble just displaying a window
Re: Having trouble just displaying a window
- Subject: Re: Having trouble just displaying a window
- From: Sherm Pendley <email@hidden>
- Date: Thu, 15 Nov 2007 03:41:15 -0500
On Nov 15, 2007, at 3:05 AM, Rick Mann wrote:
On Nov 14, 2007, at 11:11 PM, Hal Mueller wrote:
What class have you written -showOrHideWindow on? Is
mChartInspectorController an instance of some subclass of
NSWindowController? What is the value of window when -
showOrHideWindow is called ( NSLog(@"window: %@", window); )?
Oh! the window is null:
2007-11-14 23:36:37.599 SatTrackX[14201:813] window: (null)
In IB, change the "Window's Owner" class to NSWindowController. Then
connect the owner's "window" outlet to the window.
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden