Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 749751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:28:16+00:00 2026-05-14T14:28:16+00:00

I have 3 different xib’s. I am able to go back and forth between

  • 0

I have 3 different xib’s. I am able to go back and forth between view 1 and view 2 with the following code…

This Code brings up the second view…

-(IBAction)startButtonClicked:(id)sender{

    self.gamePlayViewController = [[GamePlayViewController alloc] initWithNibName:@"GamePlayViewController" bundle:nil];
    [self.navigationController pushViewController:gamePlayViewController animated:YES];
    [GamePlayViewController release];


}

This Code is executed in the second view and brings me back to the first view…

-(IBAction)backButtonClicked{

[self.navigationController popViewControllerAnimated:YES];

}

Now when I try to execute this code (in the second view) to get to the third view…I get SIGABRT and the app crashes…why does it work for the first view bringing up the second view, but not for the second view bringing up the 3rd view?

-(IBAction)nextView{

self.thirdViewController = [[ThirdViewController alloc] initWithNibName:@"ThirdViewController" bundle:nil];
        [self.navigationController pushViewController:thirdViewController animated:YES];
        [thirdViewController release];

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:28:17+00:00Added an answer on May 14, 2026 at 2:28 pm

    There’s probably some object or outlet in ThirdViewController.xib that you’ve forgotten to configure or misconfigured. Compare and contrast ThirdViewController.xib and GamePlayViewController.xib, paying close attention to how you’ve configured ThirdViewController.xib’s class names and outlets. In particular:

    1. Make sure your File’s Owner is properly set to ThirdViewController.
    2. Make sure the view outlet of the File’s Owner is properly connected to its view.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this same piece of code in two different parts of my app.
I have an NSDocument subclass with two NSWindowControllers corresponding to 2 different xib. Following
i have created a project which has different xib viewcontrollers.In first view am selecting
I have different php output in jQuery-based tabs. This output is formed from database
I have different urls that points to the same code www.url1.com www.url2.com I need
I have different select boxes. I want to select second one with related id.
I have a table view that gets refreshed two different ways. Both are through
I have 2 xib's. I want 2 different UIButtons to point to the same
I have one .xib file with an App Delegate. In this App Delegate, I
I have a scroll view, which contains about 40-50 objects of different types. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.