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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:50:30+00:00 2026-05-27T04:50:30+00:00

I have read other questions here, but they seem to be for Xcode 3.2

  • 0

I have read other questions here, but they seem to be for Xcode 3.2 or earlier, but nothing for 4.2. 🙁

I started a simple project and was wanting to connect the File Owner’s Outlets within my xib. The bummer is that my IBOutlet’s from my ViewController.h aren’t coming over.

I don’t have a reputation of 10 or above, so here is a screenshot of my File’s Owner not showing my IBOutlets.

Here is my ViewController.h code:

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController { 
    IBOutlet UITextField *txtName; 
    IBOutlet UILabel *lblMessage;
}

@property (nonatomic, retain) IBOutlet UITextField *txtName;
@property (nonatomic, retain) IBOutlet UILabel *lblMessage;

- (IBAction)doSomething;

@end

Here is my ViewController.m code:

#import "ViewController.h"

@implementation ViewController

@synthesize txtName;
@synthesize lblMessage;

- (IBAction) doSomething
{
    NSString *msg = [[NSString alloc] initWithFormat:@"Hello, %@",txtName.text];
    [lblMessage setText:msg];
}

@end

I am new to Objective-C and Xcode, so I could have made a mistake, but I’ve followed many tutorials and I can never get my IBOutlets to show. I have gone as far as to delete Xcode 4.2 and re-installed to try and fix this issue. Here is a screenshot of my Xcode Version 4.2, Build 4D199 info.

Anyone else run into this issue? Thanks anyone who can point out any mistakes I have made. Please let me know if more information is needed.

  • 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-27T04:50:31+00:00Added an answer on May 27, 2026 at 4:50 am

    When you create your IBAction, in the .h file, there will be a connection indicator to the left of it. When it isn’t connected it shows a empty circle.

    Press and hold this and drag it to the item you want to connect it to. I usually open up the XIB in a new window by double clicking it.

    Connect the IBAction to your button by dragging from the the .h file


    If it wont connect you must set the File's Owner in the XIB file. Select File's Owner in the Placeholders panel. Move over to the Utilities panel and make sure the Custom class, in Identity Inspector, is set to what ever your viewcontroller is named.

    Set files owner

    I Hope this will help you.

    Cheers!

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

Sidebar

Related Questions

I have read the other questions and they mostly talk about the security of
I have read some other articles like here and here but unfortunately there are
I have read other questions on this topic but none that actually answers my
I have read other related question but i cant really get them to relate
I hate asking questions like this - they're so undefined... and undefinable, but here
I have read lots of questions and answers about this issue on StackOverflow, but
Okay guys, I have read through all the other posts and question on jQuery
I have read the other posts, e.g., vim: Executing a list of editor commands
I have read this article from High Scalability about Stack Overflow and other large
I read up someplace, that there are characters other than A-Z that have a

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.