Re: Nib loading question with an Document based app...
Re: Nib loading question with an Document based app...
- Subject: Re: Nib loading question with an Document based app...
- From: Amul Goswamy <email@hidden>
- Date: Tue, 29 Apr 2003 17:42:44 -0700
This is the kind of thing you should put in delegate for NSApplication,
maybe in the applicationDidFinishLaunching: method.
file:///System/Library/Frameworks/AppKit.framework/Versions/C/
Resources/English.lproj/Documentation/Reference/ObjC_classic/Classes/
NSApplication.html#CACBHCEH
On Tuesday, April 29, 2003, at 02:14 PM, Jonas Roel wrote:
Hello,
I am trying to set up a document based app to automatically load a Nib
when the app loads. I set up An NSBundle to load the NibNamed: Owner:
but everytime I start a new document I get another window of that nib.
This is obviously an error. I only want to load once and at launch
time.
Should I Subclass NSApplication in the MainMenu Nib. Or is there
another way to do this sort of thing. This is what I am thinking of:
1) Document Application Launches...
2) The Nib I would like to launch launches automatically...
3) the document window launches as usual...
If someone could just point me in the right direction or give me their
thoughts about this that would greatly help...
Thanks...
JR
_______________________________________________
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.
Amul Goswamy
Interface Builder QA
Apple
_______________________________________________
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.