Re: Saving to application support folder.
Re: Saving to application support folder.
- Subject: Re: Saving to application support folder.
- From: glenn andreas <email@hidden>
- Date: Mon, 8 Oct 2007 15:03:38 -0500
On Oct 8, 2007, at 2:55 PM, Sandro Noel wrote:
I'm not trying to write to my bundle Sorry i must of missed typing
a word ...
I want to find out the name of the bundle, or application so i can
append that name to the
string I will use to create the application support Path.
I just didn't want to hard code it.
so I'm looking for the application's name [application.app] without
the "app"
I use:
[[NSBundle mainBundle] objectForInfoDictionaryKey:
@"CFBundleExecutable"]
This has the advantage over using the name of the application bundle
that if the user renames the app, this value remains unchanged.
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures,
fractals, art
_______________________________________________
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