I have the following code:
//RootViewController.h:
#import
@interface RootViewController : UIViewController{
IBOutlet UITe
You need to declare the property with @property in your interface.
@property( nonatomic, retain ) IBOutlet UITextField * login_uname;
Here, non-atomic is used because it's an IBOutlet. Also note the property has the retain modifier, meaning you are responsible to release the object when you don't need it anymore.