Can't connect IBOutlet in Interface Builder

Posted by Dave C on Stack Overflow See other posts from Stack Overflow or by Dave C
Published on 2010-03-30T15:45:43Z Indexed on 2010/03/30 15:53 UTC
Read the original article Hit count: 421

Hello,

I have the following code:

@interface AddResident : UIViewController
{
    IBOutlet UITextField *FirstName;
    IBOutlet UISegmentedControl *Gender;
}

I can see both of these outlets in interface builder but can only connect the UISegmented control... the other one will not connect to my UITextField on the form.

Any help is much appreciated.

© Stack Overflow or respective owner

Related posts about interface-builder

Related posts about objective-c