Re: Application Caches
Re: Application Caches
- Subject: Re: Application Caches
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 21 Mar 2007 11:04:18 -0600
On Mar 21, 2007, at 9:40 AM, Ryan Homer wrote:
Many applications make use of a cache stored in ~/Library/Cache/...
Is there a Cocoa framework to go with this that helps to store/
retrieve information in there or is this just a convention and
you're responsible for creating your own files, etc.?
These cache directories are typically created and managed by the
NSURLCache class, but you can store and retrieve whatever you want in
the directory manually. However, it is for throw-away items, so if
you need to save critical files, you'd best use Application Support
instead. If you need to store temporary files, then use
NSTemporaryDirectory() instead.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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