On 21. Jul 2012, at 17:37, Nick Zitzmann wrote: > > On Jul 21, 2012, at 10:03 AM, H. Miersch wrote: > >> i just started a new ios project where i want to download images using >> NSimage's initwithcontentsofURL: method. >> now i also want to write those images to permanent storage, but how do i do >> that? > > You could always download the data given the URL using NSData, and use the > NSData to initialize the image. Then you can just save the NSData to storage.
thought so. and when i load it again, i'd have to load it into an NSData object and create the image from that, correct? _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com