<?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: A simple COCOA Asynchronous image loader class to use in your iPhone app.</title>
	<atom:link href="http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/</link>
	<description>Software Developer</description>
	<lastBuildDate>Tue, 17 Aug 2010 23:20:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Curtis Hard</title>
		<link>http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/comment-page-1/#comment-123</link>
		<dc:creator>Curtis Hard</dc:creator>
		<pubDate>Tue, 16 Feb 2010 20:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekygoodness.com/?p=96#comment-123</guid>
		<description>Hello yves,

Its really simple, basically, think of it like this : anything you allocate will be automatically released, so [[UIView alloc] init]; will be picked up my the run loops etc and released accordingly. When you stick retain on it, it puts the retain count up by one, starts with 0, then you +1 to it, so now when the auto release pools run, it will ignore your object and wont get released. Likewise, if you run release on it, it will get rid of it from memory. If you dont retain objects when you need to, then problems occur when your trying to call the object, but it has already been released from memory, thus causing epic fail.

If that helps what so ever...and remember to follow @caffeinatedapp for my latest news on my app ;)</description>
		<content:encoded><![CDATA[<p>Hello yves,</p>
<p>Its really simple, basically, think of it like this : anything you allocate will be automatically released, so [[UIView alloc] init]; will be picked up my the run loops etc and released accordingly. When you stick retain on it, it puts the retain count up by one, starts with 0, then you +1 to it, so now when the auto release pools run, it will ignore your object and wont get released. Likewise, if you run release on it, it will get rid of it from memory. If you dont retain objects when you need to, then problems occur when your trying to call the object, but it has already been released from memory, thus causing epic fail.</p>
<p>If that helps what so ever&#8230;and remember to follow @caffeinatedapp for my latest news on my app ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yves</title>
		<link>http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/comment-page-1/#comment-122</link>
		<dc:creator>yves</dc:creator>
		<pubDate>Tue, 16 Feb 2010 20:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekygoodness.com/?p=96#comment-122</guid>
		<description>Hi, thank you for this - I had been looking for how do do that. I am still learning memory management, read a few books, etc... but I guess most examples I have seen were simple. If you are looking for an idea for your next log, explaining the retain and release in GGImageLoader would be great. Thank you.</description>
		<content:encoded><![CDATA[<p>Hi, thank you for this &#8211; I had been looking for how do do that. I am still learning memory management, read a few books, etc&#8230; but I guess most examples I have seen were simple. If you are looking for an idea for your next log, explaining the retain and release in GGImageLoader would be great. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lockerrushing</title>
		<link>http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/comment-page-1/#comment-120</link>
		<dc:creator>lockerrushing</dc:creator>
		<pubDate>Mon, 02 Nov 2009 06:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekygoodness.com/?p=96#comment-120</guid>
		<description>Thanks for the fast reply. Just ordered some cocoa books. I think I need to run through the basics first.

Peace</description>
		<content:encoded><![CDATA[<p>Thanks for the fast reply. Just ordered some cocoa books. I think I need to run through the basics first.</p>
<p>Peace</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis Hard</title>
		<link>http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/comment-page-1/#comment-119</link>
		<dc:creator>Curtis Hard</dc:creator>
		<pubDate>Sun, 01 Nov 2009 23:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekygoodness.com/?p=96#comment-119</guid>
		<description>Ill do a future post on posting to servers, whenever I get time.

An NSURLConnection has delegate methods ( methods that are called when events happen, just like AS3&#039;s EventDispatcher ), basically the NSURLConnection will stream the required NSURL contents via NSData through that function. Because they are received in parts we have to construct the overall data object, so as you can see, I have set up a NSMutableData object which im appending the NSData that is received. Its pretty simple.

Also im a AS3 developer ;), its a bit like the ProgressEvent in AS3, apart from instead of a percent and bytes loaded / bytes total, it also gives you the data it recieves =].

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Ill do a future post on posting to servers, whenever I get time.</p>
<p>An NSURLConnection has delegate methods ( methods that are called when events happen, just like AS3&#8242;s EventDispatcher ), basically the NSURLConnection will stream the required NSURL contents via NSData through that function. Because they are received in parts we have to construct the overall data object, so as you can see, I have set up a NSMutableData object which im appending the NSData that is received. Its pretty simple.</p>
<p>Also im a AS3 developer ;), its a bit like the ProgressEvent in AS3, apart from instead of a percent and bytes loaded / bytes total, it also gives you the data it recieves =].</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lockerrushing</title>
		<link>http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/comment-page-1/#comment-118</link>
		<dc:creator>lockerrushing</dc:creator>
		<pubDate>Sun, 01 Nov 2009 20:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekygoodness.com/?p=96#comment-118</guid>
		<description>Thanks for the post. I am just starting out and was wondering if you could show me how to do a form post?

I am trying to create a batch poster in cocoa. I will need to feed in an encoded cookie string and POST it to the server every 500 milliseconds.

Any thoughts?

Also, how does this work: 
- (void)connection:(NSURLConnection *)connection
	didReceiveData:(NSData *)data
{

I am coming from an AS background, what is this technique called?

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the post. I am just starting out and was wondering if you could show me how to do a form post?</p>
<p>I am trying to create a batch poster in cocoa. I will need to feed in an encoded cookie string and POST it to the server every 500 milliseconds.</p>
<p>Any thoughts?</p>
<p>Also, how does this work:<br />
- (void)connection:(NSURLConnection *)connection<br />
	didReceiveData:(NSData *)data<br />
{</p>
<p>I am coming from an AS background, what is this technique called?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lilikindsli</title>
		<link>http://www.geekygoodness.com/2009/09/13/a-simple-cocoa-asynchronous-image-loader-class-to-use-in-your-iphone-app/comment-page-1/#comment-45</link>
		<dc:creator>lilikindsli</dc:creator>
		<pubDate>Sun, 04 Oct 2009 21:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.geekygoodness.com/?p=96#comment-45</guid>
		<description>GJaldN I want to say - thank you for this!</description>
		<content:encoded><![CDATA[<p>GJaldN I want to say &#8211; thank you for this!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
