NSWindowController window returns nil
NSWindowController window returns nil
- Subject: NSWindowController window returns nil
- From: email@hidden
- Date: Wed, 7 Jul 2010 16:54:04 -0600
- (id) initWithWindowNibName:(NSString*)windowNibName andBFileName:
(BFilename*)bfilename
{
self = [super initWithWindowNibName:windowNibName];
if (self != nil)
{
m_panel = [self window];
Design *cv = [m_panel contentView];
cv->m_BFilename = bfilename;
[m_panel setDelegate:self];
[m_panel makeKeyAndOrderFront:self];
}
return self;
}
Im the above, the call [self window] returns nil. This does not seem
correct. Can some one help me?
-koko
_______________________________________________
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