<?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 for Dimzzy</title>
	<atom:link href="http://www.dimzzy.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dimzzy.com/blog</link>
	<description>Mac OS X and iPhone Development Services</description>
	<lastBuildDate>Wed, 18 Aug 2010 14:12:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Unicode Mirror Character by guest</title>
		<link>http://www.dimzzy.com/blog/2010/08/unicode-mirror-character/comment-page-1/#comment-84</link>
		<dc:creator>guest</dc:creator>
		<pubDate>Wed, 18 Aug 2010 14:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=113#comment-84</guid>
		<description>fix deviations app please. hasnt worked since before iOS4 update on any device.!</description>
		<content:encoded><![CDATA[<p>fix deviations app please. hasnt worked since before iOS4 update on any device.!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by Dimzzy</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-82</link>
		<dc:creator>Dimzzy</dc:creator>
		<pubDate>Sat, 07 Aug 2010 12:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-82</guid>
		<description>Table cell should observe remote image notifications and update itself when image is available.</description>
		<content:encoded><![CDATA[<p>Table cell should observe remote image notifications and update itself when image is available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by Greg Combs</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-81</link>
		<dc:creator>Greg Combs</dc:creator>
		<pubDate>Sat, 07 Aug 2010 10:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-81</guid>
		<description>This looks interesting!  Any thoughts on how best to incorporate this into a UITableView with scrolling through cells with images?</description>
		<content:encoded><![CDATA[<p>This looks interesting!  Any thoughts on how best to incorporate this into a UITableView with scrolling through cells with images?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by dimzzy</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-76</link>
		<dc:creator>dimzzy</dc:creator>
		<pubDate>Mon, 24 May 2010 11:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-76</guid>
		<description>True; thanks a lot!</description>
		<content:encoded><![CDATA[<p>True; thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by Gary Morris</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-75</link>
		<dc:creator>Gary Morris</dc:creator>
		<pubDate>Mon, 24 May 2010 02:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-75</guid>
		<description>Very useful.  I&#039;ve been playing with this, expanding it to fit my needs which are a little different but it&#039;s been very helpful to start with this code. &lt;br&gt;&lt;br&gt;One thing I noticed in the process is a memory leak.  When you release a RemoteImage object after you are done with it, dealloc never gets called.  This is because each RemoteImage object is also retained by the static NSMutableArray* images inside the AllRemoteImages method.  RemoteImage dealloc tries to remove itself from this array in the dealloc method, but this is too late, it never gets into dealloc because it is retained by the array.</description>
		<content:encoded><![CDATA[<p>Very useful.  I&#39;ve been playing with this, expanding it to fit my needs which are a little different but it&#39;s been very helpful to start with this code. </p>
<p>One thing I noticed in the process is a memory leak.  When you release a RemoteImage object after you are done with it, dealloc never gets called.  This is because each RemoteImage object is also retained by the static NSMutableArray* images inside the AllRemoteImages method.  RemoteImage dealloc tries to remove itself from this array in the dealloc method, but this is too late, it never gets into dealloc because it is retained by the array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on UIViews Cache for Reuse by dimzzy</title>
		<link>http://www.dimzzy.com/blog/2010/02/uiviews-cache-for-reuse/comment-page-1/#comment-74</link>
		<dc:creator>dimzzy</dc:creator>
		<pubDate>Fri, 14 May 2010 01:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=99#comment-74</guid>
		<description>Maybe you could check retain count of the header view - if table additionally retains the header you maybe could detect it this way and don&#039;t reuse the header view.</description>
		<content:encoded><![CDATA[<p>Maybe you could check retain count of the header view - if table additionally retains the header you maybe could detect it this way and don&#39;t reuse the header view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on UIViews Cache for Reuse by jeremyk44</title>
		<link>http://www.dimzzy.com/blog/2010/02/uiviews-cache-for-reuse/comment-page-1/#comment-73</link>
		<dc:creator>jeremyk44</dc:creator>
		<pubDate>Thu, 13 May 2010 22:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=99#comment-73</guid>
		<description>I meant something else. I was storing an array of all my header views as it asks for headers a lot on scrolling and I didn&#039;t want to be making the same header over and over. It was working fine generally but I had it autoscrolling to a specific row and sometimes one of the headers wouldn&#039;t draw. Scrolling it out of the view and back would get it to show up. I think it had something to do with the framework wanting two copies of the same header for some reason. Your resuse code works fine because it can give back two of the same header if that is what is really needed.</description>
		<content:encoded><![CDATA[<p>I meant something else. I was storing an array of all my header views as it asks for headers a lot on scrolling and I didn&#39;t want to be making the same header over and over. It was working fine generally but I had it autoscrolling to a specific row and sometimes one of the headers wouldn&#39;t draw. Scrolling it out of the view and back would get it to show up. I think it had something to do with the framework wanting two copies of the same header for some reason. Your resuse code works fine because it can give back two of the same header if that is what is really needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on UIViews Cache for Reuse by dimzzy</title>
		<link>http://www.dimzzy.com/blog/2010/02/uiviews-cache-for-reuse/comment-page-1/#comment-72</link>
		<dc:creator>dimzzy</dc:creator>
		<pubDate>Thu, 13 May 2010 01:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=99#comment-72</guid>
		<description>Good to hear this! What do you mean &quot;view actually disappeared&quot;? Headers are cached so obviously you should create new ones when cache is empty and there is nothing to reuse; or you meant something else?</description>
		<content:encoded><![CDATA[<p>Good to hear this! What do you mean "view actually disappeared"? Headers are cached so obviously you should create new ones when cache is empty and there is nothing to reuse; or you meant something else?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on UIViews Cache for Reuse by jeremyk44</title>
		<link>http://www.dimzzy.com/blog/2010/02/uiviews-cache-for-reuse/comment-page-1/#comment-71</link>
		<dc:creator>jeremyk44</dc:creator>
		<pubDate>Thu, 13 May 2010 01:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=99#comment-71</guid>
		<description>This worked great! I was storing all the section headers I was using and then handing them back but that didn&#039;t work in a couple cases where I was scrolling and the view actually disappeared.&lt;br&gt;&lt;br&gt;Thanks!</description>
		<content:encoded><![CDATA[<p>This worked great! I was storing all the section headers I was using and then handing them back but that didn&#39;t work in a couple cases where I was scrolling and the view actually disappeared.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by dimzzy</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-29</link>
		<dc:creator>dimzzy</dc:creator>
		<pubDate>Wed, 16 Dec 2009 11:55:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-29</guid>
		<description>You can register only the table controller, add a tag property to RemoteImage (like in UIView) and store cell index there. When notification comes in you find the cell and update it.</description>
		<content:encoded><![CDATA[<p>You can register only the table controller, add a tag property to RemoteImage (like in UIView) and store cell index there. When notification comes in you find the cell and update it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by Kevin</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-27</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Wed, 16 Dec 2009 04:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-27</guid>
		<description>Thnkx a lot!!!

As you wrote, I forgot to register to receive the notifications. It works really nice !!! 
Now I&#039;m trying to use this class to populate the cells in a UITableView, but I find a little bit inconvenient to register for this notification in every cell. I don&#039;t think you designed this class for this particular case. 

Any advice?</description>
		<content:encoded><![CDATA[<p>Thnkx a lot!!!</p>
<p>As you wrote, I forgot to register to receive the notifications. It works really nice !!!<br />
Now I'm trying to use this class to populate the cells in a UITableView, but I find a little bit inconvenient to register for this notification in every cell. I don't think you designed this class for this particular case. </p>
<p>Any advice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by hookjd</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-21</link>
		<dc:creator>hookjd</dc:creator>
		<pubDate>Wed, 09 Dec 2009 22:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-21</guid>
		<description>Any chance you want to post a sample XCode project that has your class files in it?  It looks like it would be really useful, but its a little hard to take in on one long html page.  :)</description>
		<content:encoded><![CDATA[<p>Any chance you want to post a sample XCode project that has your class files in it?  It looks like it would be really useful, but its a little hard to take in on one long html page.  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by dimzzy</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-19</link>
		<dc:creator>dimzzy</dc:creator>
		<pubDate>Mon, 07 Dec 2009 00:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-19</guid>
		<description>Yes, you should subscribe to receive them.

@implementation XController

- (void)loadView {
  [super loadView];
  [[NSNotificationCenter defaultCenter] addObserver:self
    selector:@selector(imageStatusChanged:)
    name:RemoteImageStatusChangedNotification
    object:nil];
}

- (void)dealloc {
  [[NSNotificationCenter defaultCenter] removeObserver:self];
  [super dealloc];
}

- (void)imageStatusChanged:(NSNotification *)notification {
  RemoteImage *changedImage = [notification object];
  // update UI
}

@end</description>
		<content:encoded><![CDATA[<p>Yes, you should subscribe to receive them.</p>
<p>@implementation XController</p>
<p>- (void)loadView {<br />
  [super loadView];<br />
  [[NSNotificationCenter defaultCenter] addObserver:self<br />
    selector:@selector(imageStatusChanged:)<br />
    name:RemoteImageStatusChangedNotification<br />
    object:nil];<br />
}</p>
<p>- (void)dealloc {<br />
  [[NSNotificationCenter defaultCenter] removeObserver:self];<br />
  [super dealloc];<br />
}</p>
<p>- (void)imageStatusChanged:(NSNotification *)notification {<br />
  RemoteImage *changedImage = [notification object];<br />
  // update UI<br />
}</p>
<p>@end</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remote Image for iPhone by Kevin</title>
		<link>http://www.dimzzy.com/blog/2009/11/remote-image-for-iphone/comment-page-1/#comment-14</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Thu, 03 Dec 2009 09:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.dimzzy.com/blog/?p=52#comment-14</guid>
		<description>Hi, I&#039;m just a beginner...

I&#039;m trying to figure out how to use it.

I suppose we should get the image like this:

-(void) RemoteImageStatusChangedNotification: (NSNotification *) aNotification{
remoteImage = (RemoteImage *)aNotification;
anImageView.image = remoteImage.image
}

But I cannot receive that RemoteImageStatusChangedNotification event, Am I missing something?

thnkx 
Kevin</description>
		<content:encoded><![CDATA[<p>Hi, I'm just a beginner...</p>
<p>I'm trying to figure out how to use it.</p>
<p>I suppose we should get the image like this:</p>
<p>-(void) RemoteImageStatusChangedNotification: (NSNotification *) aNotification{<br />
remoteImage = (RemoteImage *)aNotification;<br />
anImageView.image = remoteImage.image<br />
}</p>
<p>But I cannot receive that RemoteImageStatusChangedNotification event, Am I missing something?</p>
<p>thnkx<br />
Kevin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
