• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Locating application bundle from a nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locating application bundle from a nib file


  • Subject: Re: Locating application bundle from a nib file
  • From: Ken Tozier <email@hidden>
  • Date: Sun, 29 Feb 2004 15:34:19 -0500

That's it, thanks Todd.

On Feb 29, 2004, at 3:21 PM, Todd Lair wrote:

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.


  • Prev by Date: NSDecimalNumber and 10.2.x: is this bug a secret?
  • Next by Date: Re: Help - Outline view woes
  • Previous by thread: Re: Locating application bundle from a nib file
  • Next by thread: NSDecimalNumber and 10.2.x: is this bug a secret?
  • Index(es):
    • Date
    • Thread