On 4 Aug 2010, at 9:49 AM, Vera Tkachenko wrote: > in my application I need to obtain system cache directory (not > ~/Library/Caches). To perform this I use code "borrowed" from WebKit (that > why I think it's correct :) )
Don't do that. Use NSSearchPathForDirectoriesInDomains() with the directory code of NSCachesDirectory and the system domain mask (NSSystemDomainMask for /System/Library/Caches, though you probably mean NSLocalDomainMask for /Library/Caches). — F _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com