<?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: Create a UITabBarController from scratch</title>
	<atom:link href="http://www.iphonedevcentral.com/create-uitabbarcontroller/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jul 2010 18:38:30 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vladimir Olexa</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1802</link>
		<dc:creator>Vladimir Olexa</dc:creator>
		<pubDate>Tue, 09 Mar 2010 06:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1802</guid>
		<description>@Thom: this requires a bit more elaborate response. Maybe try submitting it in the forums (http://iphonedevcentral.com/forum) and see the community can discuss it.</description>
		<content:encoded><![CDATA[<p>@Thom: this requires a bit more elaborate response. Maybe try submitting it in the forums (<a href="http://iphonedevcentral.com/forum" rel="nofollow" onclick="urchinTracker('/outgoing/iphonedevcentral.com/forum?referer=');">http://iphonedevcentral.com/forum</a>) and see the community can discuss it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Olexa</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1801</link>
		<dc:creator>Vladimir Olexa</dc:creator>
		<pubDate>Tue, 09 Mar 2010 06:41:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1801</guid>
		<description>@Andrew: Great catch! That would actually make for a good blog post. There are two things that are going on there with the leaks here. 

1. The dao object is never released 
2. It&#039;s initialized in the wrong place

The first one is easy to fix. Just add [dao release] in the dealloc method. The second one is kind of a neat mistake. Since viewWillAppear is called every time a view is displayed, we actually allocate dao more times than we release it. Putting the initialization in viewDidLoad is the way to go since that method is called only once when the view is initialized. 

I updated the final source code to include the fixes.</description>
		<content:encoded><![CDATA[<p>@Andrew: Great catch! That would actually make for a good blog post. There are two things that are going on there with the leaks here. </p>
<p>1. The dao object is never released<br />
2. It&#8217;s initialized in the wrong place</p>
<p>The first one is easy to fix. Just add [dao release] in the dealloc method. The second one is kind of a neat mistake. Since viewWillAppear is called every time a view is displayed, we actually allocate dao more times than we release it. Putting the initialization in viewDidLoad is the way to go since that method is called only once when the view is initialized. </p>
<p>I updated the final source code to include the fixes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thom Denick</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1786</link>
		<dc:creator>Thom Denick</dc:creator>
		<pubDate>Sat, 06 Mar 2010 17:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1786</guid>
		<description>Hi, 

I have a question on this implemented code. I&#039;ve been trying to work through it awhile and can&#039;t quite figure it out.

So in my version of this I am pushing the Tab View in the exact same way as described here, however, each of my individual tab views are actually Table Views.  This looks and displays great and works fantastic for sorting.

The problem I&#039;ve run into is when I drill down off of that Table view, the Navbar gives me serious problems, it always stays on top, even when I pop Modal views.  I&#039;ve tried absolutely everything I can think of to hide the Navbar when drilling down but the Tab Bar&#039;s Navbar always remains on top.

Using the example above, this would be like popping a modal view if you clicked on the Batman image.  If you did this, the top of that popped modal view would be overlapped by the &quot;Dark Night&quot; navbar given in the example picture.

I have a feeling I need to call my Modal View pop ups from somewhere else, outside of the Tab Controller&#039;s subviews.  Anyone have any idea?

Thank you.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I have a question on this implemented code. I&#8217;ve been trying to work through it awhile and can&#8217;t quite figure it out.</p>
<p>So in my version of this I am pushing the Tab View in the exact same way as described here, however, each of my individual tab views are actually Table Views.  This looks and displays great and works fantastic for sorting.</p>
<p>The problem I&#8217;ve run into is when I drill down off of that Table view, the Navbar gives me serious problems, it always stays on top, even when I pop Modal views.  I&#8217;ve tried absolutely everything I can think of to hide the Navbar when drilling down but the Tab Bar&#8217;s Navbar always remains on top.</p>
<p>Using the example above, this would be like popping a modal view if you clicked on the Batman image.  If you did this, the top of that popped modal view would be overlapped by the &#8220;Dark Night&#8221; navbar given in the example picture.</p>
<p>I have a feeling I need to call my Modal View pop ups from somewhere else, outside of the Tab Controller&#8217;s subviews.  Anyone have any idea?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1762</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 03 Mar 2010 05:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1762</guid>
		<description>umm, figured out one way, if you release dao inside viewWillAppear that seems to fix the leak, this may not be best pratice......

- (void)viewWillAppear:(BOOL)animated {
    [dao release]; /*HERE*/
    dao = [[DvdLibraryDao alloc] initWithLibraryName:@&quot;TestData&quot;];
    self.title = @&quot;My DVD Library&quot;;
    [self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:YES];
}</description>
		<content:encoded><![CDATA[<p>umm, figured out one way, if you release dao inside viewWillAppear that seems to fix the leak, this may not be best pratice&#8230;&#8230;</p>
<p>- (void)viewWillAppear:(BOOL)animated {<br />
    [dao release]; /*HERE*/<br />
    dao = [[DvdLibraryDao alloc] initWithLibraryName:@&#8221;TestData&#8221;];<br />
    self.title = @&#8221;My DVD Library&#8221;;<br />
    [self.tableView deselectRowAtIndexPath:[self.tableView indexPathForSelectedRow] animated:YES];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1761</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 03 Mar 2010 05:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1761</guid>
		<description>Me again Vladimir, 
Working through a project that uses your library setup, whenever I pop back to the main listing I have memory leaks. I&#039;ve checked with your code and it happens there too when going back to the My DVD Library screen. I&#039;ve tried a few options, if I release dao on didSelectRowAtIndexPath I have crashes when popping  back to main listing as well as other issues. Any suggestions for modifications to your code to stop those leaks? 
Thanks
Andrew</description>
		<content:encoded><![CDATA[<p>Me again Vladimir,<br />
Working through a project that uses your library setup, whenever I pop back to the main listing I have memory leaks. I&#8217;ve checked with your code and it happens there too when going back to the My DVD Library screen. I&#8217;ve tried a few options, if I release dao on didSelectRowAtIndexPath I have crashes when popping  back to main listing as well as other issues. Any suggestions for modifications to your code to stop those leaks?<br />
Thanks<br />
Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thom Denick</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1728</link>
		<dc:creator>Thom Denick</dc:creator>
		<pubDate>Sat, 27 Feb 2010 17:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1728</guid>
		<description>Hey,

Just want to say this is a killer bit of code that made my morning!  The explanations are clear and to the point, and you don&#039;t meander about with info that&#039;s not useful...  Perfect!  

Thanks again,
Thom</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Just want to say this is a killer bit of code that made my morning!  The explanations are clear and to the point, and you don&#8217;t meander about with info that&#8217;s not useful&#8230;  Perfect!  </p>
<p>Thanks again,<br />
Thom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dub</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1634</link>
		<dc:creator>dub</dc:creator>
		<pubDate>Mon, 15 Feb 2010 13:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1634</guid>
		<description>Very useful tutorial. Thanks very much!

Much of a christian bale fan ?? :P</description>
		<content:encoded><![CDATA[<p>Very useful tutorial. Thanks very much!</p>
<p>Much of a christian bale fan ?? <img src='http://www.iphonedevcentral.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: christian</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1569</link>
		<dc:creator>christian</dc:creator>
		<pubDate>Mon, 08 Feb 2010 06:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1569</guid>
		<description>Vladimir - THANK YOU for your excellent tutorials. You explain things very clearly and I&#039;m really looking forward to this DVD Library example application developing in future tutorials! Thanks again!</description>
		<content:encoded><![CDATA[<p>Vladimir &#8211; THANK YOU for your excellent tutorials. You explain things very clearly and I&#8217;m really looking forward to this DVD Library example application developing in future tutorials! Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Olexa</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1338</link>
		<dc:creator>Vladimir Olexa</dc:creator>
		<pubDate>Mon, 11 Jan 2010 00:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1338</guid>
		<description>Hi Ed, these are excellent suggestions! I think a sections tutorial would be the next logical step. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Ed, these are excellent suggestions! I think a sections tutorial would be the next logical step. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed B.</title>
		<link>http://www.iphonedevcentral.com/create-uitabbarcontroller/comment-page-1/#comment-1337</link>
		<dc:creator>Ed B.</dc:creator>
		<pubDate>Sun, 10 Jan 2010 21:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonedevcentral.com/?p=128#comment-1337</guid>
		<description>Excellent tutorials.  Is there any way you can show how to include the sections and index for the list.  And perhaps a search bar?  Thanks.</description>
		<content:encoded><![CDATA[<p>Excellent tutorials.  Is there any way you can show how to include the sections and index for the list.  And perhaps a search bar?  Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
