As far as I know NSURLCache only works for HTTP/HTTPS without extending the class yourself for other protocols. I think you might do better just using a mutable dictionary and saving that to disc with your data objects. The key would be your URL.

On Apr 23, 2008, at 4:14 PM, Stephan Burlot wrote:

What is the correct way to use NSURLCache with NSData on 10.5?

I have a test project available <http://coriolis.ch/dl/cache.zip> if anyone wants to have a look,

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to