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 6240405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:33:55+00:00 2026-05-24T11:33:55+00:00

I am new to Xcode and objective C programming.Please help me to resolve the

  • 0

I am new to Xcode and objective C programming.Please help me to resolve the following problem.

After adding the Textfield and buttons i tried to give connection for view and controller and it leads to the following error.

Terminating app due to uncaught exception ‘NSUnknownKeyException’,
reason: ‘[<UIViewController 0x3b13bb0> setValue:forUndefinedKey:]:
this class is not key value coding-compliant for the key txtUsername.

and the debugger gets terminated.It happens only after adding the view – controller connection.

I searched google but found that class name should be specified exactly under Class Identifiers,but i have specified it and even then i am getting this error.

Please help me to resolve this issue.

  • 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-24T11:33:56+00:00Added an answer on May 24, 2026 at 11:33 am

    This is mostly caused because of changing the name of the variable that you have connected in your XIB file. If this is the case you can check the bottom right of your interface builder(in xcode 3) and if you see a warning sign than you will know that something has went wrong. You can then reconnect the outlet in your interface builder and everything will be good to go.

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

Sidebar

Related Questions

Hey there, I'm a designer thats really new to programming with xcode or Objective-C
Ok, I'm programming in objective-C and using Xcode. I have read through the documentation
I am currently programming Objective-C in the Xcode IDE, and I understand it should
Hey there, I'm sort of new to Objective-C, and well, programming in general. I
I am new with xCode and objective C. I am using NSXMLParser to parse
I am fairly new to XCode and the Objective-C language. When I am instantiating
Being new to Xcode and Objective-C I find it hard to get my head
OK, I'm still quite new to Xcode/Cocoa etc, so please forgive me if this
In xcode, when I add a new objective-c file, there's a checkbox where it
With the latest version of Xcode from Apple, I have the following problem. Upon

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.