• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting localized /Users/Shared Dir Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Getting localized /Users/Shared Dir Name (From: Erg Consultant <email@hidden>)
 >Re: Getting localized /Users/Shared Dir Name (From: Chris Parker <email@hidden>)
 >Re: Getting localized /Users/Shared Dir Name (From: Erg Consultant <email@hidden>)

  • Prev by Date: Re: Help needed with setting autoresizing masks
  • Next by Date: Get Users/Shared full path and its localized dir name
  • Previous by thread: Re: Getting localized /Users/Shared Dir Name
  • Next by thread: Get Users/Shared full path and its localized dir name
  • Index(es):
    • Date
    • Thread