You can, of course, do this using the interface builder, the IBOutletCollection keyword. What he does is basically an NSArray of several interface builders.
IBOutletCollection(UILabel) NSArray *myLabels;
So, the next thing will be related to your labels in the interface builder, and then you can use an array to access all the labels at runtime.
source share