<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: iPhone development &#8211; Downloading an image asynchronously</title>
	<atom:link href="http://blog.sallarp.com/iphone-uiimage-asynchronously/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/</link>
	<description>Code, Code, Revolution!</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:26:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Greg Maletic</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-6315</link>
		<dc:creator>Greg Maletic</dc:creator>
		<pubDate>Thu, 10 Dec 2009 01:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-6315</guid>
		<description>&gt;Downloading an image, or anything else for that matter, asynchronously from the web requires the use of a NSURLRequest and NSURLConnection.

Why do you say this? Why can&#039;t you just wrap [NSData dataWithContentsOfURL:] in an NSOperation and implement your own callback? Is there a reason why that is a bad idea?

Thanks.</description>
		<content:encoded><![CDATA[<p>>Downloading an image, or anything else for that matter, asynchronously from the web requires the use of a NSURLRequest and NSURLConnection.</p>
<p>Why do you say this? Why can&#8217;t you just wrap [NSData dataWithContentsOfURL:] in an NSOperation and implement your own callback? Is there a reason why that is a bad idea?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teerasej</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-4394</link>
		<dc:creator>Teerasej</dc:creator>
		<pubDate>Thu, 08 Oct 2009 05:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-4394</guid>
		<description>Thank you for this article. Your writing is very good and easy understand. I think this is the best one.</description>
		<content:encoded><![CDATA[<p>Thank you for this article. Your writing is very good and easy understand. I think this is the best one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franck</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-113</link>
		<dc:creator>Franck</dc:creator>
		<pubDate>Mon, 23 Feb 2009 20:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-113</guid>
		<description>Hi Björn, nice article!

Like Eric, I&#039;m wondering about the way to use your class with many images?

Your idea consisted in adding a property refering to the destination UIImage but how would you use it ?

Thanks a lot for your answer.

Cheers,
--Franck</description>
		<content:encoded><![CDATA[<p>Hi Björn, nice article!</p>
<p>Like Eric, I&#8217;m wondering about the way to use your class with many images?</p>
<p>Your idea consisted in adding a property refering to the destination UIImage but how would you use it ?</p>
<p>Thanks a lot for your answer.</p>
<p>Cheers,<br />
&#8211;Franck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blogg</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-85</link>
		<dc:creator>blogg</dc:creator>
		<pubDate>Wed, 11 Feb 2009 23:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-85</guid>
		<description>Very nice information. Thanks for this.</description>
		<content:encoded><![CDATA[<p>Very nice information. Thanks for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Sållarp</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-21</link>
		<dc:creator>Björn Sållarp</dc:creator>
		<pubDate>Mon, 01 Dec 2008 20:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-21</guid>
		<description>Hi Eric!

I&#039;m glad you like the class. Be sure you&#039;ve checked out the revised class here: http://blog.sallarp.com/2008/11/asynch-uiimage-revisited/

The new intenetimage class is much more stable. You can solve your problem in a number of ways. The easiest is to just add a property on the InternetImage class that can work as an identifier. Another neat way to solve it would be to add a pointer (id) property on the InternetImage that you set to the UIImage (or whatever) you wish to set the image to once it&#039;s been downloaded.

Happy coding!
// Björn Sållarp</description>
		<content:encoded><![CDATA[<p>Hi Eric!</p>
<p>I&#8217;m glad you like the class. Be sure you&#8217;ve checked out the revised class here: <a href="http://blog.sallarp.com/2008/11/asynch-uiimage-revisited/">http://blog.sallarp.com/2008/11/asynch-uiimage-revisited/</a></p>
<p>The new intenetimage class is much more stable. You can solve your problem in a number of ways. The easiest is to just add a property on the InternetImage class that can work as an identifier. Another neat way to solve it would be to add a pointer (id) property on the InternetImage that you set to the UIImage (or whatever) you wish to set the image to once it&#8217;s been downloaded.</p>
<p>Happy coding!<br />
// Björn Sållarp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-20</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 30 Nov 2008 01:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-20</guid>
		<description>Hi,
Thanks for the internetimage class. It is good for downloading a single image.
How to use the internetimage class to download 3 images one by one (not need in sequence at all). It seems the delegate cannot identify which image it is downloading.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for the internetimage class. It is good for downloading a single image.<br />
How to use the internetimage class to download 3 images one by one (not need in sequence at all). It seems the delegate cannot identify which image it is downloading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone - Downloading an image asynchronously. Revisited!</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-9</link>
		<dc:creator>iPhone - Downloading an image asynchronously. Revisited!</dc:creator>
		<pubDate>Sat, 01 Nov 2008 23:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-9</guid>
		<description>[...] - Downloading an image asynchronously. Revisited!  Nov.02, 2008 in Uncategorized, iPhone  In a previous post I wrote about downloading an image asynchronously. As my work has progressed with my app (which is [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; Downloading an image asynchronously. Revisited!  Nov.02, 2008 in Uncategorized, iPhone  In a previous post I wrote about downloading an image asynchronously. As my work has progressed with my app (which is [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-7</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 13 Oct 2008 07:31:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-7</guid>
		<description>OK, thank you.</description>
		<content:encoded><![CDATA[<p>OK, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Sållarp</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-6</link>
		<dc:creator>Björn Sållarp</dc:creator>
		<pubDate>Mon, 13 Oct 2008 04:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-6</guid>
		<description>Hi Josh! The iPhone supports PNG, TIFF, JPEG, GIF, BMP, CUR and XBM image formats. The dev docs strongly recommend PNG over the other formate. But of course you can download other types than images. The concept is the same for any file you download, but store the data in the file system instead of inserting it into an image. 
I haven&#039;t worked with storing files on the phone but you can find documentation on the file system on iPhone dev center here: http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/LowLevelFileMgmt/LowLevelFileMgmt.html

Good luck!</description>
		<content:encoded><![CDATA[<p>Hi Josh! The iPhone supports PNG, TIFF, JPEG, GIF, BMP, CUR and XBM image formats. The dev docs strongly recommend PNG over the other formate. But of course you can download other types than images. The concept is the same for any file you download, but store the data in the file system instead of inserting it into an image.<br />
I haven&#8217;t worked with storing files on the phone but you can find documentation on the file system on iPhone dev center here: <a href="http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/LowLevelFileMgmt/LowLevelFileMgmt.html">http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/LowLevelFileMgmt/LowLevelFileMgmt.html</a></p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.sallarp.com/iphone-uiimage-asynchronously/comment-page-1/#comment-5</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 13 Oct 2008 01:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sallarp.com/?p=73#comment-5</guid>
		<description>Hi, thanks for the tutorial. How do I save this downloaded image to the memory of the phone? also, how would I save it if it was another file type? Thanks again.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the tutorial. How do I save this downloaded image to the memory of the phone? also, how would I save it if it was another file type? Thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: blog.sallarp.com @ 2010-07-30 17:08:55 -->