On Sat, 21 Jul 2012 17:03:23 +0100, "H. Miersch" 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
On 22/07/2012, at 2:58 AM, Conrad Shultz wrote:
> Note that UIImage conforms to NSCoding, so once you've loaded a UIImage
> through whichever means you prefer (NSData, the URL loading system, etc.) you
> can archive the image to an NSData (and of course unarchive) in the usual
> manner.
UII
On Jul 21, 2012, at 10:41 AM, H. Miersch wrote:
>
> 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 al
NSImage is for OS X. You need to use UIImage on iOS. One difference is that
UIImage doesn't have an -initWithContentsOfURL: method.
Note that UIImage conforms to NSCoding, so once you've loaded a UIImage through
whichever means you prefer (NSData, the URL loading system, etc.) you can
archive
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
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 th