Re: Get path to user preference folder
Re: Get path to user preference folder
- Subject: Re: Get path to user preference folder
- From: June Van Dyke <email@hidden>
- Date: Sat, 15 Feb 2003 10:36:16 -0500
On 2/15/03 10:21 AM, "Daniel Aarno" <email@hidden> wrote:
>
How can I retrieve the path to the a users preference folder in the
>
correct manner, i.e how can I get ~/Library/Preferences without
>
hard-coding it in my sources?
[NSHomeDirectory() stringByAppendingPathComponent:@"Library/Preferences"]
That should do what you want.
--
-- sinclair44
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[[world currentLeaders] assassinate];
[[world citizens] terrorize];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}
_______________________________________________
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.