• 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: Constant for Application directory ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Constant for Application directory ?


  • Subject: Re: Constant for Application directory ?
  • From: "John C. Randolph" <email@hidden>
  • Date: Sat, 1 Jan 2005 04:12:59 -0800


On Jan 1, 2005, at 2:13 AM, Simon alias Trax wrote:



I want my openPanel's default directory to be the application's directory.
Is there any constant that designates such directory ?



Not a constant, but:

NSString *myAppDirectory = [[NSBundle mainBundle] bundlePath];

-jcr



John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Constant for Application directory ? (From: "Simon alias Trax" <email@hidden>)

  • Prev by Date: Re: Constant for Application directory ?
  • Next by Date: Re: NSApp sendAction: to: from question
  • Previous by thread: Re: Constant for Application directory ?
  • Next by thread: Re: NSApp sendAction: to: from question
  • Index(es):
    • Date
    • Thread