I am new to iPhone OS App development. Can somebody explain whats the difference between
IBOutlet UIButton *myButton;
@property (nonatomic, retain) IBOutlet UIButton *myButton;
As far i understand the first line was used earlier and now we can use the 2nd line. Theres absolutely no need to write both of them. Any idea?
Taimur
I just write
IBOutletin the @property declaration. It won’t hurt to put it in both spots though.You’re not asking the difference between the whole lines though are you?