document window appears very briefly
document window appears very briefly
- Subject: document window appears very briefly
- From: email@hidden
- Date: Tue, 27 Feb 2007 10:26:45 +0100 (CET)
- Importance: Normal
Hello all,
I have a subclass of NSDocument and after initializing its "Model"
part, the "View" part
is initialized by the following two lines :
[NSBundle loadNibNamed:@"Hardy2Document.nib" owner:theDoc];
[theDoc showWindows];
After the second line is executed, the window should appear on-screen,
right ? Well, it
does appear, but immediately disappears in a flash. What kind of error in
the code is likely
to produce that sort of behaviour ?
Ewan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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