24 thoughts on “Xcode iPhone SDK Tutorial – Switching XIBs, Nib Views (Switching Views Method 2)

  1. @bax450 Do you just want a landscape view of the app? Just search “iPhone SDK Landscape”, there is a great video, also by NWorksDev. You don’t need another view. If you wanted something else, I’m not sure, just google it.

  2. how do you get all those things when you open the xib file my mac wont do that please help oh and i need it to open with something wich i dont know what to do when that pop ups

  3. hi NworksDev ! awesome tutorial u have here !
    damn , could you explain the app how does it work it’s something similar thought i asked you best , the app is called WeatherLah

  4. All of the tutorials I have seen about swtiching views show you how to do so after pressing a button…

    I’m trying to switch from one view ( a logo view that loads with the application) into a second view ( my main menu) and can’t seem to get it to work!
    I created a method that I call within (viewDidLoad) but it doesn’t switch. When I take that exact same code and have it under an (IBAction)ButtonTap, it SWITCHES! Any ideas….? Is there a simple way to display a logo view and switch it auto?

  5. Dude, brand spanking new wet behind the ears iPhone developer here and so far your videos r the only ones iv understood and have actually made sense…please keep em coming….would love to see how to play video clips with tv out allowed and page side swipe with the little page counter at the bottom “the lil dots” THANKS ALOT! 🙂

  6. here is my ibaction code

    – (IBAction) switchBack
    {
    QuartzFunViewController *screen = [[QuartzFunViewController alloc] initWithNibName:nil bundle:nil];
    screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
    [self presentModalViewController:screen animated:YES];
    [screen release];
    }

  7. great tutorial !!

    i tried editing apple’s quartzfunview xcodeproj and added my view before the quartzviewfun .. and i followed all the instructions in this tutorial for switching.

    it keeps giving me the following error

    2010-11-06 15:05:40.258 QuartzFun[872:20b] *** -[QuartzFunViewController switchBack]: unrecognized selector sent to instance 0x3e1dfd0
    2010-11-06 15:05:40.259 QuartzFun[872:20b] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’,

  8. You have absolutely NO idea how much you’ve helped me! Not a soul on this planet has anything for the 3.2.4 Xcode, and you’ve solved my issue! Thank you!!!

  9. Great job, this is really helpful. I have a question, i’m getting errors from the pasted script at 4:54 in the tutorial.

    SecondViewController *screen = [[SecondViewController alloc] initWithNibName:nil bundle:nil];
    screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
    [self presentModalViewController:screen animated:YES];
    [screen release];

    i’m using SDK 4.1

    the errors i’m getting are: it’s expecting a ] from the first line before initWithNibName
    doesn’t know what screen is

  10. @NWorksDev

    hee man,

    great tutorial, but can i do this with a tab-bar based application to?

    i want to navigate from the tab bar application to a navigation application.

    you understand?

    TX!

Leave a Reply to bax450 Cancel reply

Your email address will not be published. Required fields are marked *