<?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: Change background of a UITableViewCell</title>
	<atom:link href="http://zcentric.com/2008/09/08/change-background-of-a-uitableviewcell/feed/" rel="self" type="application/rss+xml" />
	<link>http://zcentric.com/2008/09/08/change-background-of-a-uitableviewcell/</link>
	<description>A blog about linux, programming and more</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:59:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ivalene</title>
		<link>http://zcentric.com/2008/09/08/change-background-of-a-uitableviewcell/comment-page-1/#comment-1195</link>
		<dc:creator>Ivalene</dc:creator>
		<pubDate>Thu, 21 Jul 2011 18:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.zcentric.com/?p=233#comment-1195</guid>
		<description>I see, I spuopse that would have to be the case.</description>
		<content:encoded><![CDATA[<p>I see, I spuopse that would have to be the case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ezra Epstein</title>
		<link>http://zcentric.com/2008/09/08/change-background-of-a-uitableviewcell/comment-page-1/#comment-1194</link>
		<dc:creator>Ezra Epstein</dc:creator>
		<pubDate>Wed, 27 May 2009 06:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.zcentric.com/?p=233#comment-1194</guid>
		<description>Don&#039;t set the background color when the cell is created as the color is controlled at that point by the table.  Rather implement the delegate method and set the background color there.  Very easy this way.

- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{
	if (indexPath.row == 1) {
		[cell setBackgroundColor:[UIColor yellowColor]];
	}
}</description>
		<content:encoded><![CDATA[<p>Don&#8217;t set the background color when the cell is created as the color is controlled at that point by the table.  Rather implement the delegate method and set the background color there.  Very easy this way.</p>
<p>- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath<br />
{<br />
	if (indexPath.row == 1) {<br />
		[cell setBackgroundColor:[UIColor yellowColor]];<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giku</title>
		<link>http://zcentric.com/2008/09/08/change-background-of-a-uitableviewcell/comment-page-1/#comment-1193</link>
		<dc:creator>giku</dc:creator>
		<pubDate>Sun, 02 Nov 2008 18:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.zcentric.com/?p=233#comment-1193</guid>
		<description>Just create new UIView, set it as table cell backgroundView and use backgroundColor of this UIView.</description>
		<content:encoded><![CDATA[<p>Just create new UIView, set it as table cell backgroundView and use backgroundColor of this UIView.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Hunt</title>
		<link>http://zcentric.com/2008/09/08/change-background-of-a-uitableviewcell/comment-page-1/#comment-1192</link>
		<dc:creator>Alex Hunt</dc:creator>
		<pubDate>Thu, 09 Oct 2008 12:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.zcentric.com/?p=233#comment-1192</guid>
		<description>Did you manage to do this as I am trying to do the same.

Existing code:
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];

I am trying to replace the background colour with a picture.
Thanks for any help</description>
		<content:encoded><![CDATA[<p>Did you manage to do this as I am trying to do the same.</p>
<p>Existing code:<br />
self.view.backgroundColor = [UIColor groupTableViewBackgroundColor];</p>
<p>I am trying to replace the background colour with a picture.<br />
Thanks for any help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://zcentric.com/2008/09/08/change-background-of-a-uitableviewcell/comment-page-1/#comment-1191</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Mon, 22 Sep 2008 09:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.zcentric.com/?p=233#comment-1191</guid>
		<description>Is anything besides setting the background to another color? Like setting the background to a certain image? Just like themes...</description>
		<content:encoded><![CDATA[<p>Is anything besides setting the background to another color? Like setting the background to a certain image? Just like themes&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

