<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tom&#039;s blog</title>
	<atom:link href="http://tom.meinlschmidt.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://tom.meinlschmidt.org</link>
	<description>some thoughts...</description>
	<lastBuildDate>Sun, 06 May 2012 22:56:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>ruby 1.9.3 seg fault fix</title>
		<link>http://tom.meinlschmidt.org/2012/05/07/ruby-1-9-3-seg-fault-fix/</link>
		<comments>http://tom.meinlschmidt.org/2012/05/07/ruby-1-9-3-seg-fault-fix/#comments</comments>
		<pubDate>Sun, 06 May 2012 22:56:51 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=763</guid>
		<description><![CDATA[Ruby.. [BUG] Segmentation fault .. neverending story, such a nightmare.. bundle crashed? using macports? see how to fix this damn issue.. it assumes you have your openssl from macports installed in /opt/local/. When it&#8217;s somewhere else, &#8230; <a class="more-link" href="http://tom.meinlschmidt.org/2012/05/07/ruby-1-9-3-seg-fault-fix/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ruby.. [BUG] Segmentation fault .. neverending story, such a nightmare..<br />
<span id="more-763"></span></p>
<pre class="brush: plain; title: ; notranslate">
$ bundle install
Fetching gem metadata from https://rubygems.org/./Users/znouza/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/http.rb:799: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0]

-- Control frame information -----------------------------------------------
c:0041 p:---- s:0226 b:0226 l:000225 d:000225 CFUNC  :connect
</pre>
<p>bundle crashed? using macports? see how to fix this damn issue..</p>
<pre class="brush: bash; title: ; notranslate">
rvm remove 1.9.3
rvm install ruby-1.9.3 --with-openssl-dir=/opt/local --with-iconv-dir=/opt/local
rvm reload
rvm use 1.9.3
bundle install
</pre>
<p>it assumes you have your openssl from macports installed in /opt/local/. When it&#8217;s somewhere else, just correct the path before.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2012/05/07/ruby-1-9-3-seg-fault-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Příklady v ruby &#8211; operace s čísly</title>
		<link>http://tom.meinlschmidt.org/2012/05/06/priklady-v-ruby-operace-s-cisly/</link>
		<comments>http://tom.meinlschmidt.org/2012/05/06/priklady-v-ruby-operace-s-cisly/#comments</comments>
		<pubDate>Sun, 06 May 2012 19:41:17 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[ruby/rails]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=757</guid>
		<description><![CDATA[Ahoj Kubi, tady máš další příklad v ruby. Jedná se o operace, kde jsou dvě čísla. Program načte požadovaný operand, a následně se dotazuje na dvě celá čísla. až se pak dostaneme v ruby dál, uvidíš, &#8230; <a class="more-link" href="http://tom.meinlschmidt.org/2012/05/06/priklady-v-ruby-operace-s-cisly/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ahoj Kubi, tady máš další příklad v ruby. Jedná se o operace, kde jsou dvě čísla. Program načte požadovaný operand, a následně se dotazuje na dvě celá čísla.<br />
<span id="more-757"></span></p>
<pre class="brush: cpp; title: ; notranslate">
# metoda, vrati pouze cislo, vyzaduje hlasku k napsani
def get_cislo(hlaska)
  print &quot;#{hlaska}: &quot;
  # opakujeme dokud budeme dostavat nejaky text a urizneme &quot;enter&quot; od konce retezce
  while a=STDIN.gets.chop do
    # a je-li to cislo (obsahuje jen znaky 0-9 od zacatku &quot;^&quot; do konce &quot;$&quot;), tak vyskocime z while
    break if a =~ /^[0-9]*$/
    # nebo vypiseme chybovou hlasku
    puts 'neni cislo'
  end
  # a prevedeme retezec na cislo, a vysledek vratime
  a.to_i
end

# definice pole operaci
operace = ['+','-','/','*']

# vytiskneme popis, a pole operandu, oddelene carkou
printf &quot;vyberte operaci: (%s)&quot;, operace.join(',')
# vynulujeme 'op'
op = nil
# nacteme znaky
while op=STDIN.gets.chop do
  # a ukoncime, pokud je operand soucasti pole (include?)
  break if operace.include?(op)
  puts &quot;spatna operace!&quot;
end

# nacteme promenne
cislo1 = get_cislo('vloz cislo 1')
cislo2 = get_cislo('vloz cislo 2')

# a podle typu operace udelame vysledek
case op
  when '+': vysledek = cislo1+cislo2
  when '-': vysledek = cislo1-cislo2
  when '*': vysledek = cislo1*cislo2
  when '/': vysledek = cislo1/cislo2
end

# vypiseme
printf &quot;vysledek:\n %d %s %d = %d\n&quot;, cislo1, op, cislo2, vysledek
</pre>
<p>až se pak dostaneme v ruby dál, uvidíš, že třeba ta část s &#8220;case&#8221; by šla napsat jako</p>
<pre class="brush: cpp; title: ; notranslate">
vysledek = cislo1.send(op,cislo2)
</pre>
<p>:) ale to až jindy</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2012/05/06/priklady-v-ruby-operace-s-cisly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vrtulníky v ČR</title>
		<link>http://tom.meinlschmidt.org/2012/01/30/vrtulniky-v-cr/</link>
		<comments>http://tom.meinlschmidt.org/2012/01/30/vrtulniky-v-cr/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 15:56:02 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[flying]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=754</guid>
		<description><![CDATA[update 30.1.2012 42 R44 34 R22 8 EC135 5 Schweizer 269 4 BO105 4 MI2 3 EC120 3 Bell206 3 Bell427 3 AS355 3 MI8 2 Bell407 1 HU369 1 MD500N 1 Cabri g2 pokud něco &#8230; <a class="more-link" href="http://tom.meinlschmidt.org/2012/01/30/vrtulniky-v-cr/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>update 30.1.2012</p>
<ul>
<li>42 R44</li>
<li>34 R22</li>
<li>8 EC135</li>
<li>5 Schweizer 269</li>
<li>4 BO105</li>
<li>4 MI2</li>
<li>3 EC120</li>
<li>3 Bell206</li>
<li>3 Bell427</li>
<li>3 AS355</li>
<li>3 MI8</li>
<li>2 Bell407</li>
<li>1 HU369</li>
<li>1 MD500N</li>
<li>1 Cabri g2</li>
</ul>
<p>pokud něco chybí, uvítám komentář.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2012/01/30/vrtulniky-v-cr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new kits</title>
		<link>http://tom.meinlschmidt.org/2012/01/09/new-kits/</link>
		<comments>http://tom.meinlschmidt.org/2012/01/09/new-kits/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 20:39:10 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[plastics]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=742</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<a  href="http://tom.meinlschmidt.org/2012/01/09/new-kits/obrazek_1/" title="obrazek_1"><img width="300" height="188" src="http://tom.meinlschmidt.org/wp-content/uploads/2012/01/obrazek_1-400x251.jpg" class="attachment-medium" alt="obrazek_1" title="obrazek_1" /></a>
<a  href="http://tom.meinlschmidt.org/2012/01/09/new-kits/obrazek_2/" title="obrazek_2"><img width="300" height="210" src="http://tom.meinlschmidt.org/wp-content/uploads/2012/01/obrazek_2-400x281.jpg" class="attachment-medium" alt="obrazek_2" title="obrazek_2" /></a>
<a  href="http://tom.meinlschmidt.org/2012/01/09/new-kits/obrazek_3/" title="obrazek_3"><img width="300" height="223" src="http://tom.meinlschmidt.org/wp-content/uploads/2012/01/obrazek_3-400x298.jpg" class="attachment-medium" alt="obrazek_3" title="obrazek_3" /></a>
<a  href="http://tom.meinlschmidt.org/2012/01/09/new-kits/obrazek_4/" title="obrazek_4"><img width="300" height="223" src="http://tom.meinlschmidt.org/wp-content/uploads/2012/01/obrazek_4-400x298.jpg" class="attachment-medium" alt="obrazek_4" title="obrazek_4" /></a>

]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2012/01/09/new-kits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>load_missing_constant&#8217;: Syck is not missing constant BadAlias! (ArgumentError)</title>
		<link>http://tom.meinlschmidt.org/2011/11/29/load_missing_constant-syck-is-not-missing-constant-badalias-argumenterror/</link>
		<comments>http://tom.meinlschmidt.org/2011/11/29/load_missing_constant-syck-is-not-missing-constant-badalias-argumenterror/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 16:15:09 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[ruby/rails]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=739</guid>
		<description><![CDATA[Weird ruby/rails error. I was soo crazy about that. And solution is pretty simple. CHECK your YAML files for error. As I&#8217;ve changed my ruby version other than 1.9.2p180 (higher) and as YAML has changed since &#8230; <a class="more-link" href="http://tom.meinlschmidt.org/2011/11/29/load_missing_constant-syck-is-not-missing-constant-badalias-argumenterror/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Weird ruby/rails error. I was soo crazy about that. And solution is pretty simple.</p>
<p>CHECK your YAML files for error. As I&#8217;ve changed my ruby version other than 1.9.2p180 (higher) and as YAML has changed since then, this could make crazy and hidden errors like that one.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2011/11/29/load_missing_constant-syck-is-not-missing-constant-badalias-argumenterror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fondant au Chocolat</title>
		<link>http://tom.meinlschmidt.org/2011/11/17/fondant-au-chocolat/</link>
		<comments>http://tom.meinlschmidt.org/2011/11/17/fondant-au-chocolat/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 17:25:35 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[cooking]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=731</guid>
		<description><![CDATA[100g másla 100g cukru 100g čokolády 2 vejce 40g hladké mouky Čokoládu a máslo rozehřejeme ve vodní lázni, přidáme cukr, mouku a vejce. Vymícháme dohladka. Do formiček nalejeme do 3/4, pečeme 8-10minut na 200oC. (jiný poměr &#8230; <a class="more-link" href="http://tom.meinlschmidt.org/2011/11/17/fondant-au-chocolat/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<table width="100%">
<tr>
<td>
<a  href="http://tom.meinlschmidt.org/wp-content/uploads/2011/11/1321549666.jpg" class="thickbox no_icon" rel="gallery-731" title=""><img src="http://tom.meinlschmidt.org/wp-content/uploads/2011/11/1321549666-300x300.jpg" alt="" title="1321549666" width="300" height="300" class="aligncenter size-medium wp-image-733" /></a>
</td>
<td>
<a  href="http://tom.meinlschmidt.org/wp-content/uploads/2011/11/1321549663.jpg" class="thickbox no_icon" rel="gallery-731" title=""><img src="http://tom.meinlschmidt.org/wp-content/uploads/2011/11/1321549663-300x300.jpg" alt="" title="1321549663" width="300" height="300" class="aligncenter size-medium wp-image-732" /></a>
</td>
</tr>
</table>
<ul>
<li>100g másla</li>
<li>100g cukru</li>
<li>100g čokolády</li>
<li>2 vejce</li>
<li>40g hladké mouky</li>
</ul>
<div>Čokoládu a máslo rozehřejeme ve vodní lázni, přidáme cukr, mouku a vejce. Vymícháme dohladka. Do formiček nalejeme do 3/4, pečeme 8-10minut na 200oC. (jiný poměr např. 125g/3 vejce/30g mouky)</div>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2011/11/17/fondant-au-chocolat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cucumber + yajl troubles (OSX Lion)</title>
		<link>http://tom.meinlschmidt.org/2011/11/01/cucumber-yajl-troubles-osx-lion/</link>
		<comments>http://tom.meinlschmidt.org/2011/11/01/cucumber-yajl-troubles-osx-lion/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 08:10:21 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby/rails]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=724</guid>
		<description><![CDATA[using rails 3.0.1 and cucumber-rails (~&#62;1.1.0).. and got this weird error message: dyld: lazy symbol binding failed: Symbol not found: _yajl_set_static_value Referenced from: ~/.rvm/gems/ruby-1.9.3-p0/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle Expected in: flat namespace dyld: Symbol not found: _yajl_set_static_value Referenced from: ~/.rvm/gems/ruby-1.9.3-p0/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle &#8230; <a class="more-link" href="http://tom.meinlschmidt.org/2011/11/01/cucumber-yajl-troubles-osx-lion/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>using rails 3.0.1 and cucumber-rails (~&gt;1.1.0).. and got this weird error message:</p>
<pre>
dyld: lazy symbol binding failed: Symbol not found: _yajl_set_static_value
  Referenced from: ~/.rvm/gems/ruby-1.9.3-p0/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle
  Expected in: flat namespace

dyld: Symbol not found: _yajl_set_static_value
  Referenced from: ~/.rvm/gems/ruby-1.9.3-p0/gems/yajl-ruby-1.0.0/lib/yajl/yajl.bundle
  Expected in: flat namespace

Trace/BPT trap: 5</pre>
<p>so.. working solution is:</p>
<ul>
<li>go to the gem itself (<code>~/.rvm/gems/ruby-1.9.3-p0/gems/yajl-ruby-1.0.0/ext/yajl</code>)
</li>
<li>open <code>yajl_ext.h</code> and <code>yajl_ext.c</code> and change &#8220;<code>inline void</code>&#8221; to &#8220;<code>static void</code>&#8220;</li>
<li>gmake clean all</li>
<li>overwrite <code>yajl.bundle</code> in <code>lib/</code></li>
</ul>
<div>example of edited yajl.h</div>
<div>
<pre>static void yajl_check_and_fire_callback(void * ctx);
static void yajl_set_static_value(void * ctx, VALUE val);</pre>
</div>
<div>voila! :)</div>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2011/11/01/cucumber-yajl-troubles-osx-lion/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tarte Tatin</title>
		<link>http://tom.meinlschmidt.org/2011/10/23/tarte-tatin/</link>
		<comments>http://tom.meinlschmidt.org/2011/10/23/tarte-tatin/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 19:05:43 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[cooking]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=716</guid>
		<description><![CDATA[3 jablka hnědý cukr kousek másla listové těsto (není to originál, ale to nevadí) keramický  pekáček na Tarte Tatin Postup Do pekáčku nasypeme vrstvu cukru, na ni pár tenkých plátků másla. Nakrájíme jablka na měsíčky, zasypeme &#8230; <a class="more-link" href="http://tom.meinlschmidt.org/2011/10/23/tarte-tatin/">More<span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>3 jablka</li>
<li>hnědý cukr</li>
<li>kousek másla</li>
<li>listové těsto (není to originál, ale to nevadí)</li>
<li>keramický  pekáček na Tarte Tatin</li>
</ul>
<div>Postup</div>
<div>Do pekáčku nasypeme vrstvu cukru, na ni pár tenkých plátků másla. Nakrájíme jablka na měsíčky, zasypeme mírně cukrem a dáme do trouby na 200oC péct (aby cukr zkaramerizoval). Po cca 10min vytáhneme, položíme těsto, pořádně utlačíme po krajích, propícháme vidličkou a dáme dopéct dozlatova. Po vytažení ihned překlopíme na talíř.</div>
<div>PS: pro originální těsto &#8220;Pâte brisée&#8221;:</div>
<div>
<ul>
<li>125g polohrubé mouky</li>
<li>1/2 lžičky soli</li>
<li>100g zchlazeného másla, nakrájeného na kostičky</li>
<li>1 žloutek</li>
<li>2–3 lžíce ledové vody</li>
</ul>
</div>
<div>
<table width="100%">
<tr>
<td>
<a  href="http://tom.meinlschmidt.org/wp-content/uploads/2011/10/1319392379.jpg" class="thickbox no_icon" rel="gallery-716" title=""><img src="http://tom.meinlschmidt.org/wp-content/uploads/2011/10/1319392379-300x300.jpg" alt="" title="1319392379" width="300" height="300" class="aligncenter size-medium wp-image-718" /></a>
</td>
<td>
<a  href="http://tom.meinlschmidt.org/wp-content/uploads/2011/10/1319392315.jpg" class="thickbox no_icon" rel="gallery-716" title=""><img src="http://tom.meinlschmidt.org/wp-content/uploads/2011/10/1319392315-300x300.jpg" alt="" title="1319392315" width="300" height="300" class="aligncenter size-medium wp-image-717" /></a>
</td>
</tr>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2011/10/23/tarte-tatin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom UINavigationBar with image and back button</title>
		<link>http://tom.meinlschmidt.org/2011/09/27/custom-uinavigationbar-with-image-and-back-button/</link>
		<comments>http://tom.meinlschmidt.org/2011/09/27/custom-uinavigationbar-with-image-and-back-button/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 22:18:09 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[ruby/rails]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=708</guid>
		<description><![CDATA[source: http://www.developers-life.com/custom-uinavigationbar-with-image-and-back-button.html]]></description>
			<content:encoded><![CDATA[<pre class="brush: cpp; title: ; notranslate">
@implementation UINavigationBar (UINavigationBarCustomDraw)

- (void) drawRect:(CGRect)rect {

     [self setTintColor:[UIColor colorWithRed:0.5f
                                    green: 0.5f
                                    blue:0
                                    alpha:1]];

     if ([self.topItem.title length] &gt; 0 &amp;&amp; ![self.topItem.title isEqualToString:@&quot;Back to ...&quot;]) {
          [[UIImage imageNamed:@&quot;Header_1px.png&quot;] drawInRect:rect];

          CGRect frame = CGRectMake(0, 0, 320, 44);
          UILabel *label = [[[UILabel alloc] initWithFrame:frame] autorelease];
          [label setBackgroundColor:[UIColor clearColor]];
          label.font = [UIFont boldSystemFontOfSize: 20.0];
          label.shadowColor = [UIColor colorWithWhite:0.0 alpha:1];
          label.textAlignment = UITextAlignmentCenter;
          label.textColor = [UIColor whiteColor];
          label.text = self.topItem.title;
          self.topItem.titleView = label;

     } else {
               [[UIImage imageNamed:@&quot;Header.png&quot;] drawInRect:rect];
               self.topItem.titleView = [[[UIView alloc] init] autorelease];
     }
}

@end
</pre>
<p>source: http://www.developers-life.com/custom-uinavigationbar-with-image-and-back-button.html</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2011/09/27/custom-uinavigationbar-with-image-and-back-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uitableviewcell &#8211; custom background when selected</title>
		<link>http://tom.meinlschmidt.org/2011/07/21/uitableviewcell-custom-background-when-selected/</link>
		<comments>http://tom.meinlschmidt.org/2011/07/21/uitableviewcell-custom-background-when-selected/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 10:55:13 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://tom.meinlschmidt.org/?p=698</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<pre class="brush: cpp; title: ; notranslate">
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

    static NSString *CellIdentifier = @&quot;Cell&quot;;
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
        cell.selectedBackgroundView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@&quot;SelectedCellBackground.png&quot;]] autorelease];
    }

    // configure the cell
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://tom.meinlschmidt.org/2011/07/21/uitableviewcell-custom-background-when-selected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

