On Sat, 21 Jul 2012 17:03:23 +0100, "H. Miersch" <hmier...@me.com> said:
>
>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?

(1) There is no NSImage on iOS.

(2) Do not neglect the Image I/O framework:

http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Conceptual/ImageIOGuide/imageio_intro/ikpg_intro.html

Some sample code (from my book) here:

https://github.com/mattneub/Programming-iOS-Book-Examples/blob/master/ch36p912imageIO/p747p766imageIO/ViewController.m

m.

--
matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
_______________________________________________

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

Reply via email to