Variables no longer need to be declared independently of @properties. So,
Code:
@interface ExerciseViewController : UIViewController
@property (strong, nonatomic) IBOutlet UILabel *textLabel;
@end
and
Code:
@interface ExerciseViewController : UIViewController
{
UILabel *textLabel;
}
@property (strong, nonatomic) IBOutlet UILabel *textLabel;
@end
both work. In fact the first one is more consistent with the approach Apple now uses. The second can now be considered a bit redundant.
Bob