<?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: iPhone Programming Tutorial â€“ Transitioning Between Views</title>
	<atom:link href="http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/</link>
	<description>Conquering the mobile universe</description>
	<lastBuildDate>Fri, 10 Feb 2012 21:48:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Abha Shakya</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-9196</link>
		<dc:creator>Abha Shakya</dc:creator>
		<pubDate>Wed, 08 Feb 2012 09:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-9196</guid>
		<description>can i implement it on ipad..... i tried it  but after pessing the button it comes to home application window where mky all project name were being displayed. i dont knoew what is the problem. plz let me know if it works for ipad too.</description>
		<content:encoded><![CDATA[<p>can i implement it on ipad&#8230;.. i tried it  but after pessing the button it comes to home application window where mky all project name were being displayed. i dont knoew what is the problem. plz let me know if it works for ipad too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo Cezar</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-8976</link>
		<dc:creator>Danilo Cezar</dc:creator>
		<pubDate>Mon, 12 Dec 2011 20:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-8976</guid>
		<description>Hi there! Every post regarding UINavigationController shows just interaction of two windows. What if I want to develop a linear app with 4 screens (4 views). Two views work perfectly but how would I add more views to the stack? (the third one I am trying to add crashes my app). Here is an example of the code:

///////////PushPopAppDelegate.m/////////////////////////////////////////////

#import &quot;PushPopAppDelegate.h&quot;
#import &quot;FirstViewController.h&quot;


@implementation PushPopAppDelegate

@synthesize window;


#pragma mark -
#pragma mark Application lifecycle

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { Â  Â 
Â Â  Â 
	navigationController = [[UINavigationController alloc] init];
	
	FirstViewController *tela1 = [[FirstViewController alloc]init];
	tela1.title=@&quot;Tela 1&quot;;
	
	[navigationController pushViewController:tela1 animated:NO];
	
	[tela1 release];
	
	[window addSubview:navigationController.view];
	[self.window makeKeyAndVisible];
Â Â  Â 
Â  Â  return YES;
}
/////////FirstViewController.m//////////////////////////////////////////////////////////

#import &quot;FirstViewController.h&quot;
#import &quot;SecondViewController.h&quot;


@implementation FirstViewController
//[IT WORKS!!!]
-(IBAction)pushViewController:(id)sender{

	SecondViewController * tela2 = [[SecondViewController alloc]init];					
	
	[self.navigationController pushViewController:tela2 animated:YES];
	
	[tela2 release];
	


}
///////////SecondViewController.m////////////////////////////////////////////////////////

#import &quot;SecondViewController.h&quot;
#import &quot;ThirdViewController.h&quot;


@implementation SecondViewController
//[IT DOES NOT WORK!!!]
-(IBAction)pushViewController2{

	ThirdViewController *tela3 = [[ThirdViewController alloc] init];						
	
	[self.navigationControllerÂ pushViewController:tela3 animated:YES];
	
	[tela3 release];
	
}
......................................................................................................................

DO I need to pop any viewController before I push the third viewController?

Thanks!

</description>
		<content:encoded><![CDATA[<p>Hi there! Every post regarding UINavigationController shows just interaction of two windows. What if I want to develop a linear app with 4 screens (4 views). Two views work perfectly but how would I add more views to the stack? (the third one I am trying to add crashes my app). Here is an example of the code:</p>
<p>///////////PushPopAppDelegate.m/////////////////////////////////////////////</p>
<p>#import &#8220;PushPopAppDelegate.h&#8221;<br />
#import &#8220;FirstViewController.h&#8221;</p>
<p>@implementation PushPopAppDelegate</p>
<p>@synthesize window;</p>
<p>#pragma mark -<br />
#pragma mark Application lifecycle</p>
<p>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { Â  Â <br />
Â Â  Â <br />
	navigationController = [[UINavigationController alloc] init];</p>
<p>	FirstViewController *tela1 = [[FirstViewController alloc]init];<br />
	tela1.title=@&#8221;Tela 1&#8243;;</p>
<p>	[navigationController pushViewController:tela1 animated:NO];</p>
<p>	[tela1 release];</p>
<p>	[window addSubview:navigationController.view];<br />
	[self.window makeKeyAndVisible];<br />
Â Â  Â <br />
Â  Â  return YES;<br />
}<br />
/////////FirstViewController.m//////////////////////////////////////////////////////////</p>
<p>#import &#8220;FirstViewController.h&#8221;<br />
#import &#8220;SecondViewController.h&#8221;</p>
<p>@implementation FirstViewController<br />
//[IT WORKS!!!]<br />
-(IBAction)pushViewController:(id)sender{</p>
<p>	SecondViewController * tela2 = [[SecondViewController alloc]init];					</p>
<p>	[self.navigationController pushViewController:tela2 animated:YES];</p>
<p>	[tela2 release];</p>
<p>}<br />
///////////SecondViewController.m////////////////////////////////////////////////////////</p>
<p>#import &#8220;SecondViewController.h&#8221;<br />
#import &#8220;ThirdViewController.h&#8221;</p>
<p>@implementation SecondViewController<br />
//[IT DOES NOT WORK!!!]<br />
-(IBAction)pushViewController2{</p>
<p>	ThirdViewController *tela3 = [[ThirdViewController alloc] init];						</p>
<p>	[self.navigationControllerÂ pushViewController:tela3 animated:YES];</p>
<p>	[tela3 release];</p>
<p>}<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<p>DO I need to pop any viewController before I push the third viewController?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pwdk</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-8264</link>
		<dc:creator>Pwdk</dc:creator>
		<pubDate>Mon, 17 Oct 2011 20:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-8264</guid>
		<description>Perfect:))))***</description>
		<content:encoded><![CDATA[<p>Perfect:))))***</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Designer Developers</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-8185</link>
		<dc:creator>Web Designer Developers</dc:creator>
		<pubDate>Tue, 04 Oct 2011 07:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-8185</guid>
		<description>Great informative one post , Thanks for sharing the info 
Â </description>
		<content:encoded><![CDATA[<p>Great informative one post , Thanks for sharing the info<br />
Â </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Hulley</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-8158</link>
		<dc:creator>Andrew Hulley</dc:creator>
		<pubDate>Thu, 29 Sep 2011 22:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-8158</guid>
		<description>&#039;View2ViewController&#039; cannot use &#039;super&#039; because t is a root class.

Getting this from View2ViewController.nib, probably the reason I can&#039;t find View2ViewController in the View2.xib drop down list.</description>
		<content:encoded><![CDATA[<p>&#8216;View2ViewController&#8217; cannot use &#8216;super&#8217; because t is a root class.</p>
<p>Getting this from View2ViewController.nib, probably the reason I can&#8217;t find View2ViewController in the View2.xib drop down list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dwl</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-8107</link>
		<dc:creator>Dwl</dc:creator>
		<pubDate>Tue, 20 Sep 2011 14:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-8107</guid>
		<description>Great tutorial, thank you.
</description>
		<content:encoded><![CDATA[<p>Great tutorial, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Art Farrell</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-7984</link>
		<dc:creator>Art Farrell</dc:creator>
		<pubDate>Mon, 29 Aug 2011 15:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-7984</guid>
		<description>I&#039;m new to this and I&#039;d like to do the following - Screen 1, does nothing except say &quot;Hello&quot;, and has some disclaimers, but the &quot;Next&quot; button on it Â move one to the 2nd screen, which ask some questions, followed by three more screens which do the same, i.e., they solicit info (all screens, except screen 1, contain &quot;Back&quot; buttons, in addition to &quot;Next&quot; buttons) - the final screen in the sequence, screen 6, is the &quot;Main Menu.&quot;Â 

I believe this could be accomplished with on view controller, and six nib files? I just don&#039;t know how - Any comments you might make as to an approach would be welcomed.
</description>
		<content:encoded><![CDATA[<p>I&#8217;m new to this and I&#8217;d like to do the following &#8211; Screen 1, does nothing except say &#8220;Hello&#8221;, and has some disclaimers, but the &#8220;Next&#8221; button on it Â move one to the 2nd screen, which ask some questions, followed by three more screens which do the same, i.e., they solicit info (all screens, except screen 1, contain &#8220;Back&#8221; buttons, in addition to &#8220;Next&#8221; buttons) &#8211; the final screen in the sequence, screen 6, is the &#8220;Main Menu.&#8221;Â </p>
<p>I believe this could be accomplished with on view controller, and six nib files? I just don&#8217;t know how &#8211; Any comments you might make as to an approach would be welcomed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Specificdevelopers</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-7862</link>
		<dc:creator>Specificdevelopers</dc:creator>
		<pubDate>Tue, 23 Aug 2011 06:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-7862</guid>
		<description>great help...thanks</description>
		<content:encoded><![CDATA[<p>great help&#8230;thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaktus9</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-7574</link>
		<dc:creator>Kaktus9</dc:creator>
		<pubDate>Wed, 10 Aug 2011 10:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-7574</guid>
		<description>i have problem with the line
[self.navigationController pushViewController:self.mEDIAV animated:YES];
as i do not use navigation controller to push and pop views in my app
any suggestions how to order xib to reload in any other way?
please assist</description>
		<content:encoded><![CDATA[<p>i have problem with the line<br />
[self.navigationController pushViewController:self.mEDIAV animated:YES];<br />
as i do not use navigation controller to push and pop views in my app<br />
any suggestions how to order xib to reload in any other way?<br />
please assist</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sezuan</title>
		<link>http://www.icodeblog.com/2008/08/03/iphone-programming-tutorial-transitioning-between-views/#comment-7312</link>
		<dc:creator>Sezuan</dc:creator>
		<pubDate>Thu, 28 Jul 2011 20:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=138#comment-7312</guid>
		<description>Ups, minor typo:

Â Â Â  if(self.view2ViewController == nil){
Â Â  Â 
Â Â Â Â Â Â Â  View2ViewController *view2 = [[View2ViewController alloc] initWithNibName:nil bundle: nil];
Â Â Â Â Â Â Â  self.view2ViewController = view2;
Â Â Â Â Â Â Â  [view2 release];
Â Â Â  }      </description>
		<content:encoded><![CDATA[<p>Ups, minor typo:</p>
<p>Â Â Â  if(self.view2ViewController == nil){<br />
Â Â  Â <br />
Â Â Â Â Â Â Â  View2ViewController *view2 = [[View2ViewController alloc] initWithNibName:nil bundle: nil];<br />
Â Â Â Â Â Â Â  self.view2ViewController = view2;<br />
Â Â Â Â Â Â Â  [view2 release];<br />
Â Â Â  }</p>
]]></content:encoded>
	</item>
</channel>
</rss>

