problem loading a window in a new NIB using NSWindowController.
problem loading a window in a new NIB using NSWindowController.
- Subject: problem loading a window in a new NIB using NSWindowController.
- From: deepak gopal <email@hidden>
- Date: Thu, 4 Oct 2007 00:10:42 +0530 (IST)
Hi
I am trying to load a Nib File Using the code below. [myWindowController window] crashes the app.
NSWindowController *myWindowController = [[[MyWindowController alloc] initWithWindowNibName:@"SymbolsView"] autorelease];
[[myWindowController window] makeKeyAndOrderFront:nil];
SymbolsView is the Nib name in which I have one window which has a tableView. I have made MyWindowController (NSWindowController) which is the file's owner of the NIB, as the delegate for the window and have connected my window to the 'window' outlet in MyWindowController.
Am I missing something here?
Thank you
DG
Flying to Bangalore or Bhopal? Search for tickets at http://in.farechase.yahoo.com
_______________________________________________
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