I'm really wondering what is stored in the mentioned path?
A side question: May a developer use this path (at least the folder) to store his own temp data?
I'm really wondering what is stored in the mentioned path?
A side question: May a developer use this path (at least the folder) to store his own temp data?
[...] what is stored [...] ?
Cached responses from webservers.
[...] use this path [...] ?
The directory is meant to use for application cache files. Get this path using:
NSArray* paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
NSString* cacheDir = [paths objectAtIndex:0];
Some URLs related to these two topics:
http://www.latko.org/2009/05/19/pulling-content-out-of-os-x-cachedb-files/
http://cocoawithlove.com/2009/07/temporary-files-and-folders-in-cocoa.html