Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Nib loading question with an Document based app...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nib loading question with an Document based app...



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.