<?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: UITableView and Memory</title>
	<atom:link href="http://iPhoneIncubator.com/blog/interface-builder/uitableview-and-memory/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneIncubator.com/blog/interface-builder/uitableview-and-memory</link>
	<description>Tips and Tricks for iPhone, iPod, iPad and iOS Developers</description>
	<lastBuildDate>Sat, 28 Jan 2012 16:20:12 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/interface-builder/uitableview-and-memory/comment-page-1#comment-2987</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 06 May 2010 22:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=475#comment-2987</guid>
		<description>@Patty: Your table view needs to be backed by a data model that is separate from the cells. As each cell needs to be rendered (in cellForRowAtIndexPath) you get the data to populate the cell. (This is the Model in the Model-View-Controller pattern.)</description>
		<content:encoded><![CDATA[<p>@Patty: Your table view needs to be backed by a data model that is separate from the cells. As each cell needs to be rendered (in cellForRowAtIndexPath) you get the data to populate the cell. (This is the Model in the Model-View-Controller pattern.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patty</title>
		<link>http://iPhoneIncubator.com/blog/interface-builder/uitableview-and-memory/comment-page-1#comment-2937</link>
		<dc:creator>Patty</dc:creator>
		<pubDate>Sun, 02 May 2010 14:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=475#comment-2937</guid>
		<description>What if I want to make a table for use as a &quot;configuration page&quot;?
(Like &quot;settings&quot;.)
Each cell having a various object (switches, sliders, textfields, etc).
  
I have 12 rows... and don&#039;t really need to &quot;create more&quot; or &quot;reuse&quot; anything.
  
How would that be done?
  
(My current code works... except when I scroll... then my objects &quot;forget&quot; their settings.)</description>
		<content:encoded><![CDATA[<p>What if I want to make a table for use as a &#8220;configuration page&#8221;?<br />
(Like &#8220;settings&#8221;.)<br />
Each cell having a various object (switches, sliders, textfields, etc).</p>
<p>I have 12 rows&#8230; and don&#8217;t really need to &#8220;create more&#8221; or &#8220;reuse&#8221; anything.</p>
<p>How would that be done?</p>
<p>(My current code works&#8230; except when I scroll&#8230; then my objects &#8220;forget&#8221; their settings.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/interface-builder/uitableview-and-memory/comment-page-1#comment-2911</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 30 Apr 2010 06:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=475#comment-2911</guid>
		<description>@Cory: First I want to caution against relying on an assumption that there will only ever be ~10 items in a list, unless it&#039;s based on something that is very unlikely to change, like the months of the year. Software requirements have a strange way of morphing in unexpected ways over time.

I don&#039;t have any code to post for the general case with larger lists with images. But markj has a &lt;a href=&quot;http://www.markj.net/iphone-asynchronous-table-image/&quot; rel=&quot;nofollow&quot;&gt;good post&lt;/a&gt; with lots of improvements in the comments. There&#039;s also &lt;a href=&quot;http://developer.apple.com/iphone/library/samplecode/LazyTableImages/index.html&quot; rel=&quot;nofollow&quot;&gt;sample code&lt;/a&gt; from Apple that deals with this issue.</description>
		<content:encoded><![CDATA[<p>@Cory: First I want to caution against relying on an assumption that there will only ever be ~10 items in a list, unless it&#8217;s based on something that is very unlikely to change, like the months of the year. Software requirements have a strange way of morphing in unexpected ways over time.</p>
<p>I don&#8217;t have any code to post for the general case with larger lists with images. But markj has a <a href="http://www.markj.net/iphone-asynchronous-table-image/" rel="nofollow">good post</a> with lots of improvements in the comments. There&#8217;s also <a href="http://developer.apple.com/iphone/library/samplecode/LazyTableImages/index.html" rel="nofollow">sample code</a> from Apple that deals with this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory</title>
		<link>http://iPhoneIncubator.com/blog/interface-builder/uitableview-and-memory/comment-page-1#comment-2889</link>
		<dc:creator>Cory</dc:creator>
		<pubDate>Wed, 28 Apr 2010 09:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=475#comment-2889</guid>
		<description>&quot;Yes, it’s much easier to deal with asynchronous download of images for each row if you know how to uniquely identify the cell&quot;

Do you have a good strategy for dealing with this?
I&#039;m only breaking the cell reuse code of conduct in one place in the app I&#039;m currently working on. I think I&#039;m ok, because there really really really will only ever be ~10 items in that table view. But I would be very interested how -you- would deal with async image downloads in a table view.

Good post!</description>
		<content:encoded><![CDATA[<p>&#8220;Yes, it’s much easier to deal with asynchronous download of images for each row if you know how to uniquely identify the cell&#8221;</p>
<p>Do you have a good strategy for dealing with this?<br />
I&#8217;m only breaking the cell reuse code of conduct in one place in the app I&#8217;m currently working on. I think I&#8217;m ok, because there really really really will only ever be ~10 items in that table view. But I would be very interested how -you- would deal with async image downloads in a table view.</p>
<p>Good post!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/9 queries in 0.010 seconds using disk: basic
Object Caching 245/249 objects using disk: basic

Served from: iphoneincubator.com @ 2012-02-08 01:26:00 -->
