hello all,
i have a button when i try to write myButton. then if I click esc button there is not options or any intelligent result.
thanks
hello all,
i have a button when i try to write myButton. then if I click esc button there is not options or any intelligent result.
thanks
Does your code look like this?
@interface myViewController : UIViewController {
UIBUtton *myButton;
}
@property (nonatomic, retain) IBOutlet UIButton *myButton
@end;
@implementation myViewController
@synthesize myButton;
- (void) someMethod
{
//Use myButton Here?
CGRect r = myButton.frame;
}
@end
Or This:
@interface myViewController : UIViewController {
// No need to declare myButton for iPhone or Mac 64-bit
}
@property (nonatomic, retain) IBOutlet UIButton *myButton
@end;
@implementation myViewController
@synthesize myButton;
- (void) someMethod
{
//Use myButton Here?
CGRect r = self.myButton.frame;
}
@end
if it's the latter, myButton
isn't the private variable - only the property.