<?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: Three20 Custom Cells iPhone Tutorial</title>
	<atom:link href="http://www.mattvague.com/three20-custom-cells-iphone-tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 03 Feb 2012 05:17:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: xcode4中配置Three20开发环境 &#124; 遗失的记忆iloss</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-133</link>
		<dc:creator>xcode4中配置Three20开发环境 &#124; 遗失的记忆iloss</dc:creator>
		<pubDate>Tue, 20 Dec 2011 08:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-133</guid>
		<description>[...] Three20 Custom Cells iPhone Tutorial [...]</description>
		<content:encoded><![CDATA[<p>[...] Three20 Custom Cells iPhone Tutorial [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sailing Cai &#38; Programming &#187; three20 Style &#38; tableview 教程三篇</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-54</link>
		<dc:creator>Sailing Cai &#38; Programming &#187; three20 Style &#38; tableview 教程三篇</dc:creator>
		<pubDate>Fri, 22 Apr 2011 12:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-54</guid>
		<description>[...] Three20 Custom Cells iPhone Tutorial [...]</description>
		<content:encoded><![CDATA[<p>[...] Three20 Custom Cells iPhone Tutorial [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 郝旭亮</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-53</link>
		<dc:creator>郝旭亮</dc:creator>
		<pubDate>Wed, 08 Dec 2010 14:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-53</guid>
		<description>i need this so much, thank u .</description>
		<content:encoded><![CDATA[<p>i need this so much, thank u .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oeyndj</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-52</link>
		<dc:creator>oeyndj</dc:creator>
		<pubDate>Tue, 03 Nov 2009 00:05:51 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-52</guid>
		<description>I0pMTZ  &lt;a href=&quot;http://vngsrfibbocb.com/&quot; rel=&quot;nofollow&quot;&gt;vngsrfibbocb&lt;/a&gt;, [url=http://hgnlqazxdtgs.com/]hgnlqazxdtgs[/url], [link=http://bmgastmfocxg.com/]bmgastmfocxg[/link], http://okzcqixyvgpw.com/</description>
		<content:encoded><![CDATA[<p>I0pMTZ  <a href="http://vngsrfibbocb.com/" rel="nofollow">vngsrfibbocb</a>, [url=http://hgnlqazxdtgs.com/]hgnlqazxdtgs[/url], [link=http://bmgastmfocxg.com/]bmgastmfocxg[/link], <a href="http://okzcqixyvgpw.com/" rel="nofollow">http://okzcqixyvgpw.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-51</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 09 Oct 2009 16:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-51</guid>
		<description>forget the above comment, it was meant for the newer tutorial</description>
		<content:encoded><![CDATA[<p>forget the above comment, it was meant for the newer tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-50</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 09 Oct 2009 16:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-50</guid>
		<description>It took me a few minutes to figure this one out... The newest build of Three20 calls the rowHeight method a little differently from TTTableViewDelegate

- (CGFloat)tableView:(UITableView*)tableView heightForRowAtIndexPath:(NSIndexPath*)indexPath {
  id dataSource = (id)tableView.dataSource;

  id object = [dataSource tableView:tableView objectForRowAtIndexPath:indexPath];
  Class cls = [dataSource tableView:tableView cellClassForObject:object];
  return [cls tableView:tableView rowHeightForObject:object];
}

Notice that it now says rowHeightForObject, not rowHeightForItem.

Just rename the subclassed method and it will be the right height again</description>
		<content:encoded><![CDATA[<p>It took me a few minutes to figure this one out&#8230; The newest build of Three20 calls the rowHeight method a little differently from TTTableViewDelegate</p>
<p>- (CGFloat)tableView:(UITableView*)tableView heightForRowAtIndexPath:(NSIndexPath*)indexPath {<br />
  id dataSource = (id)tableView.dataSource;</p>
<p>  id object = [dataSource tableView:tableView objectForRowAtIndexPath:indexPath];<br />
  Class cls = [dataSource tableView:tableView cellClassForObject:object];<br />
  return [cls tableView:tableView rowHeightForObject:object];<br />
}</p>
<p>Notice that it now says rowHeightForObject, not rowHeightForItem.</p>
<p>Just rename the subclassed method and it will be the right height again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MattV</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-49</link>
		<dc:creator>MattV</dc:creator>
		<pubDate>Tue, 18 Aug 2009 06:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-49</guid>
		<description>I will be updating this tutorial soon, please check back!</description>
		<content:encoded><![CDATA[<p>I will be updating this tutorial soon, please check back!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-48</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 10 Aug 2009 15:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-48</guid>
		<description>Actually ... I&#039;m even more confused now. Where is myFirstFont/Color (and Second) defined? :-o</description>
		<content:encoded><![CDATA[<p>Actually &#8230; I&#8217;m even more confused now. Where is myFirstFont/Color (and Second) defined? <img src='http://www.mattvague.com/wordpress-2011/wp-includes/images/smilies/icon_surprised.gif' alt=':-o' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-47</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 10 Aug 2009 14:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-47</guid>
		<description>I have a challenge similar to Jacqueline, and then some. In my original app (without Three20) I have a cell very similar to TTTableSubtitleItem, except the image has a 5px margin around it (it&#039;s really not a margin - I center a 50x50px image within a 60x60 space), and then my text is dynamically sized to 1 or 2 lines (depending on whether or not the text wraps), and then the text and subtitle are both vertically centered  in the cell. Now ... looking at the code above, I can see how to change the font and color, but I&#039;m not sure where I put the code to do my custom resizing and frame-adjustment. I mean, I see a few possible spots, but that&#039;s the problem - this is where Three20 gets my eyes glazing over. :) Clues welcome/appreciated!</description>
		<content:encoded><![CDATA[<p>I have a challenge similar to Jacqueline, and then some. In my original app (without Three20) I have a cell very similar to TTTableSubtitleItem, except the image has a 5px margin around it (it&#8217;s really not a margin &#8211; I center a 50x50px image within a 60&#215;60 space), and then my text is dynamically sized to 1 or 2 lines (depending on whether or not the text wraps), and then the text and subtitle are both vertically centered  in the cell. Now &#8230; looking at the code above, I can see how to change the font and color, but I&#8217;m not sure where I put the code to do my custom resizing and frame-adjustment. I mean, I see a few possible spots, but that&#8217;s the problem &#8211; this is where Three20 gets my eyes glazing over. <img src='http://www.mattvague.com/wordpress-2011/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Clues welcome/appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacqueline</title>
		<link>http://www.mattvague.com/three20-custom-cells-iphone-tutorial#comment-46</link>
		<dc:creator>jacqueline</dc:creator>
		<pubDate>Mon, 03 Aug 2009 15:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://mattvague.com/?p=577#comment-46</guid>
		<description>Hello,
I tried to follow along with this, but it seems more complicated than what I&#039;m trying to do. I&#039;m using the example from Photos2Controller, and I want to increase the height of the thumbnails (while retaining the width), and also make it 3 columns wide. Do I need to subclass TTThumbsTableViewCell, or is there an easier way to access and change these variables? Any advice would be very much appreciated.</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I tried to follow along with this, but it seems more complicated than what I&#8217;m trying to do. I&#8217;m using the example from Photos2Controller, and I want to increase the height of the thumbnails (while retaining the width), and also make it 3 columns wide. Do I need to subclass TTThumbsTableViewCell, or is there an easier way to access and change these variables? Any advice would be very much appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

