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

  • Home
  • SEARCH
  • 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 6688893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:27:22+00:00 2026-05-26T05:27:22+00:00

I am working a project with multiple UIViewController s. I just added a new

  • 0

I am working a project with multiple UIViewControllers. I just added a new one and when I click the new button, the app crashes with the following error.

2011-10-11 22:51:57.227 BG-Prep[9156:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ResourcesViewController 0x4b28540> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key delegate.'

* Call stack at first throw:

The code is identical (except for the file names) to two other pages that work fine. What is this telling me?

- (IBAction)resourceButtonTapped:(id)sender; 
{
    NSLog(@"Tapped the resource button");

    ResourcesViewController *resourcesViewController = [[[ResourcesViewController alloc]
        initWithNibName:@"ResourcesViewController" bundle:[NSBundle mainBundle]] autorelease]; 

    NSLog(@"receiver's type: %@", NSStringFromClass([resourcesViewController class]));

    resourcesViewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
    [self presentModalViewController:resourcesViewController animated:YES];

}

If I uncomment the two lines, I get the follow:

2011-10-12 14:38:51.533 BG-Prep[10070:207] Tapped the resource button
2011-10-12 14:38:51.535 BG-Prep[10070:207] receiver's type: ResourcesViewController

The last line [self presentModalViewController:resourcesViewController animated:YES]; is causing the App crash, but why ?

  • 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-26T05:27:22+00:00Added an answer on May 26, 2026 at 5:27 am

    Usually this error suggests you didn’t set a view outlet in your nib. Go into the user interface nib, right click on “File’s owner”. Drag the circle to the right of “view” onto the root view of your nib. This will fix you right up usually.

    If the file’s owner is set properly, then that suggests you have an IBOutlet specified on one of your views that isn’t present in your view controller definition. Right click on each of your views (including your root view) and check to make sure there are no yellow triangle warnings next to any of your IBOutlets.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on a project with multiple ejb and one ejb-jar.xml. I
I've just started working on a project that will involve multiple people entering data
I am working on a project with multiple JDBC data sources and JTA. I
I'm working on a large Flash CS4 project with multiple swfs and want to
I'm working on a project for my companies intranet which requires that multiple attached
I'm currently working on a project which will support multiple file writing specifications (imagine
I am currently working on a project where I need to generate multiple values
For a project I'm working on I will have multiple servers and lots of
I am working on a JAVA project in which there are multiple terminals. These
I'm working on a java project that will allows users to parse multiple files

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.