Re: Locating application bundle from a nib file
Re: Locating application bundle from a nib file
- Subject: Re: Locating application bundle from a nib file
- From: Todd Lair <email@hidden>
- Date: Sun, 29 Feb 2004 15:21:59 -0500
NSBundle *mainBundle = [NSApp mainBundle];
On Feb 29, 2004, at 3:12 PM, Ken Tozier wrote:
I'm sure this is an easy one, but I can't seem to find the answer...
I have a document window loaded from a nib file and want some of the
window buttons to have the option of running user defined AppleScripts
which will be stored in a folder at the same level as the application.
The question is, how does the window get a reference to my application
bundle?
Thanks,
Ken
_______________________________________________
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.
_______________________________________________
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.