I have Objective C class with properties:
@property (weak, nonatomic) IBOutlet UILabel *labelText1;
@property (weak, nonatomic) IBOutlet UILabel *labelText2;
@property (weak, nonatomic) IBOutlet UILabel *labelText3;
@property (weak, nonatomic) IBOutlet UILabel *labelText4;
@property (weak, nonatomic) IBOutlet UILabel *labelText5;
@property (weak, nonatomic) IBOutlet UILabel *labelText6;
Is there the way to enumerate it in code? Something like:
for (int i = 1; i <= 6; i++)
{
theCell.labelText i.text = @"some value";
}
Thanks!