Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

file's owner does nothing

I added this into the .m file


@implementation ViewController


-(IBAction)Click {


label.text = @"text text text";

}


-(IBAction)reset{

label.text = @"";

}


and added this into the .h file


@interface ViewController : UIViewController{


IBOutletUITextField *label;


}


-(IBAction)Click;

-(IBAction)reset;


I have taken nothing default out. I have created a .xib of how I want the app to look but when I try to connect the IBActions to the buttons I placed I cannot get get the File's Owner icon to do anything therefore not allowing me to connect the action with the button.


Is there anything I coded wrong to get this problem or is there just something I am not understanding?

Posted on Dec 23, 2012 3:57 PM

Reply
1 reply

file's owner does nothing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.