<?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>bunnyhero dev &#187; UITabBarControllerDelegate</title>
	<atom:link href="http://www.bunnyhero.org/tag/uitabbarcontrollerdelegate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bunnyhero.org</link>
	<description>Notes on iPhone, Flash and Web development</description>
	<lastBuildDate>Mon, 07 Nov 2011 21:49:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Another UITabBarController change from 2.x to 3.0</title>
		<link>http://www.bunnyhero.org/2009/07/22/another-uitabbarcontroller-change-from-2-x-to-3-0/</link>
		<comments>http://www.bunnyhero.org/2009/07/22/another-uitabbarcontroller-change-from-2-x-to-3-0/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 23:20:33 +0000</pubDate>
		<dc:creator>bunnyhero</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone OS 3.0]]></category>
		<category><![CDATA[UITabBarController]]></category>
		<category><![CDATA[UITabBarControllerDelegate]]></category>

		<guid isPermaLink="false">http://www.bunnyhero.org/?p=222</guid>
		<description><![CDATA[Or actually with UITabBarControllerDelegate, and specifically, with the method tabBarController:didSelectViewController:. According to the docs, the differences: OS called only when tab changes? called when changedprogrammatically? before OS 3.0 YES YES OS 3.0 and later NO NO If you are writing code that runs on both 2.x and 3.0 that needs to get tricky with tabs, [...]]]></description>
			<content:encoded><![CDATA[<p>Or actually with <strong>UITabBarControllerDelegate</strong>, and specifically, with the method <a href="http://developer.apple.com/IPhone/library/documentation/UIKit/Reference/UITabBarControllerDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/UITabBarControllerDelegate/tabBarController:didSelectViewController:">tabBarController:didSelectViewController:</a>.</p>
<p>According to the docs, the differences:</p>
<table border="1">
<tr>
<th>OS</th>
<th>called only when<br /> tab changes?</th>
<th>called when changed<br />programmatically?</th>
</tr>
<tr>
<td>before OS 3.0</td>
<td><em>YES</em></td>
<td><em>YES</em></td>
</tr>
<tr>
<td>OS 3.0 and later</td>
<td><em>NO</em></td>
<td><em>NO</em></td>
</tr>
</table>
<p>If you are writing code that runs on both 2.x and 3.0 that needs to get tricky with tabs, these changes are a nuisance.</p>
<p>Even more infuriating is that the Apple documentation isn&#8217;t complete. The section ends with the sentence fragment &#8220;If you are implementing&#8230;.&#8221; Yes? If I am implementing <em>what</em>? And what do I do if I am?</p>
<p>Yes, I&#8217;ve already reported documentation error. No response though. My guess is they&#8217;ll just remove the sentence fragment instead of expanding on it :(</p>
<p>[edited: I made a mistake in the table the first time I posted this. Should be fixed now.]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bunnyhero.org/2009/07/22/another-uitabbarcontroller-change-from-2-x-to-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

