• 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: Where/how to store lots of user application data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where/how to store lots of user application data


  • Subject: Re: Where/how to store lots of user application data
  • From: Chris Parker <email@hidden>
  • Date: Fri, 13 May 2005 11:52:25 -0700


On May 13, 2005, at 11:43 AM, John Stiles wrote:

Neat, I didn't know about that API.

NSApplicationSupportDirectory
Location of application support files (Library/Application Support). Available in Mac OS X v10.4 and later.

If you don't mind requiring Tiger, this is the way to go.
If you want to support older OSes, I guess FSFindFolder is the way to go...

That's not completely accurate, John. :)

The API is available a long way back. It's just this particular constant that's new to Tiger. You can elect to just find the Library/ on Panther and earlier and append "Application Support" to it - we can't move it on Panther or earlier, so this is safer than hardcoding a path now-and-forever for the future. On Tiger, use the constant to find the AppSupport directory inside the Library/ directory.

.chris

-- 
Chris Parker
Cocoa Frameworks
Apple Computer, Inc.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Where/how to store lots of user application data
      • From: Aaron Tuller <email@hidden>
    • Re: Where/how to store lots of user application data
      • From: John Stiles <email@hidden>
References: 
 >Re: Where/how to store lots of user application data (From: Bruce Truax <email@hidden>)
 >Re: Where/how to store lots of user application data (From: John Stiles <email@hidden>)
 >Re: Where/how to store lots of user application data (From: Chris Parker <email@hidden>)

  • Prev by Date: Re: long Tigers
  • Next by Date: Re: Where/how to store lots of user application data
  • Previous by thread: Re: Where/how to store lots of user application data
  • Next by thread: Re: Where/how to store lots of user application data
  • Index(es):
    • Date
    • Thread