Re: Getting localized /Users/Shared Dir Name
Re: Getting localized /Users/Shared Dir Name
- Subject: Re: Getting localized /Users/Shared Dir Name
- From: Michael Ash <email@hidden>
- Date: Fri, 29 May 2009 19:16:49 -0400
On Fri, May 29, 2009 at 7:01 PM, Erg Consultant
<email@hidden> wrote:
> How does that help?
>
> I can get a list of all user dirs via:
>
> NSSearchPathForDirectoriesInDomains( NSUserDirectory, NSLocalDomainMask, YES );
>
> But I still don't know which of those returned is the Shared one.
This is not even remotely close to what you originally asked. You
originally asked how to find out its localized name, and now you're
asking how to find its path. If you're after the second but ask for
the first, of course the answer does not help you.
I see no constant for NSSearchPathForDirectoriesInDomains, but the
kSharedUserDataFolderType for FSFindFolder sounds like that's what you
want.
Mike
_______________________________________________
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