Re: Dir of app
Re: Dir of app
- Subject: Re: Dir of app
- From: Gregory Weston <email@hidden>
- Date: Tue, 18 Dec 2007 14:01:51 -0500
Wesley Smith wrote:
How does one find the directory of a the application one is in through
Objective-C? I'd like to use it to build up file paths.
As someone else noted, the way to do that is through NSBundle or
CFBundle.
But it should also be pointed out that there are very few tasks for
which "find the path of the app" is part of the correct solution.
What are you really trying to do? What kind of file paths are you
intending to build relative to the path of your executable?
G
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden