<?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: UINavigationController Tricks</title>
	<atom:link href="http://www.kickasslabs.com/2009/07/03/uinavigationcontroller-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kickasslabs.com/2009/07/03/uinavigationcontroller-tricks/</link>
	<description>We &#9829; code.</description>
	<lastBuildDate>Mon, 30 Aug 2010 19:05:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nita Grace</title>
		<link>http://www.kickasslabs.com/2009/07/03/uinavigationcontroller-tricks/comment-page-1/#comment-300</link>
		<dc:creator>Nita Grace</dc:creator>
		<pubDate>Fri, 28 May 2010 06:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=366#comment-300</guid>
		<description>You&#039;ve done it once again. Superb writing.</description>
		<content:encoded><![CDATA[<p>You&#8217;ve done it once again. Superb writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ernest</title>
		<link>http://www.kickasslabs.com/2009/07/03/uinavigationcontroller-tricks/comment-page-1/#comment-151</link>
		<dc:creator>Ernest</dc:creator>
		<pubDate>Sat, 20 Feb 2010 21:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=366#comment-151</guid>
		<description>Hi Brad, how did you manage to nest the functionality of the UINavigationController inside of another view? I&#039;m having some trouble with this; some sample code would be greatly appreciated :)</description>
		<content:encoded><![CDATA[<p>Hi Brad, how did you manage to nest the functionality of the UINavigationController inside of another view? I&#8217;m having some trouble with this; some sample code would be greatly appreciated <img src='http://www.kickasslabs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.kickasslabs.com/2009/07/03/uinavigationcontroller-tricks/comment-page-1/#comment-84</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=366#comment-84</guid>
		<description>Jonathan - thanks for the idea! And yeah, I can see where that would be convenient. The only thing I don&#039;t love about it is the tight coupling this introduces - now all your subviews know about each other and about the implementation of the app delegate.  I&#039;m more comfortable passing the enclosing view controller to the responsible subview and telling it &quot;notify this thing when you&#039;re done&quot;.

But, as you say, it&#039;s a matter of style.</description>
		<content:encoded><![CDATA[<p>Jonathan &#8211; thanks for the idea! And yeah, I can see where that would be convenient. The only thing I don&#8217;t love about it is the tight coupling this introduces &#8211; now all your subviews know about each other and about the implementation of the app delegate.  I&#8217;m more comfortable passing the enclosing view controller to the responsible subview and telling it &#8220;notify this thing when you&#8217;re done&#8221;.</p>
<p>But, as you say, it&#8217;s a matter of style.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.kickasslabs.com/2009/07/03/uinavigationcontroller-tricks/comment-page-1/#comment-83</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 11 Aug 2009 16:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.kickasslabs.com/?p=366#comment-83</guid>
		<description>What about something like this from your inner nav controller:

		MyAppDelegate *delegate = (MyAppDelegate*)[[UIApplication sharedApplication] delegate];
		[delegate.outerNavController pushViewController:nextStepViewController animated:YES];

Where MyAppDelegate has a member variable outerNavController that is a UINavigationController or your own customer subclass of course. 

I guess it&#039;s a matter of style; I like to have pointers to the primary views of my application from my app delegate class so I can make these kinds of transitions from anywhere to anywhere.  I don&#039;t do this for secondary views that should only be accessible from the primary views.</description>
		<content:encoded><![CDATA[<p>What about something like this from your inner nav controller:</p>
<p>		MyAppDelegate *delegate = (MyAppDelegate*)[[UIApplication sharedApplication] delegate];<br />
		[delegate.outerNavController pushViewController:nextStepViewController animated:YES];</p>
<p>Where MyAppDelegate has a member variable outerNavController that is a UINavigationController or your own customer subclass of course. </p>
<p>I guess it&#8217;s a matter of style; I like to have pointers to the primary views of my application from my app delegate class so I can make these kinds of transitions from anywhere to anywhere.  I don&#8217;t do this for secondary views that should only be accessible from the primary views.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
