For example one, I declare an object inside the interface brace {}
like:
@interface testViewController : UIViewController {
IBOutlet UILabel * myLabel;
}
@property (retain, nonatomic) UILabel *myLabel;
@end
and example two, I declare an object outside the inferface brace {}
like:
@interface testViewController : UIViewController {
}
@property (retain, nonatomic) IBOutlet UILabel *myLabel;
@end
I run the code and the result is the same, so I want to ask what is the different for decalare an object inside or outside the interface brace {}
?
Thanks