Re: Find app's working directory
Re: Find app's working directory
- Subject: Re: Find app's working directory
- From: Sam Carr <email@hidden>
- Date: Mon, 5 Jan 2004 15:11:08 +0000
You should be able to use:
NSString *appPath = [NSBundle mainBundle];
Sam
On 5 Jan 2004, at 2:43 pm, Chad Armstrong wrote:
Perhaps I'm just remembering something, but I'm trying to retrieve the
current running directory of my application. Will 'self' be able to
return this information that I need, or will I need to go another
route? If my application is running under /users/johndoe/myapp.app,
I want to be able to retrieve the path name as an NSString.
Chad Armstrong
email@hidden
_______________________________________________
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.