4 ms·
Or use a helper class (called Design.m/.h) with a call: +(void)styleLabelForCertainPage:(UILabel *)label { label.textAlignment = UITextAlignmentRight;
by bennyg 14y ago
Or use a helper class (called Design.m/.h) with a call:
+(void)styleLabelForCertainPage:(UILabel *)label {
label.textAlignment = UITextAlignmentRight;
label.textColor = [UIColor redColor];
}
Then run those through your loops. If you're seriously considering writing a lot of lines for something trivial, then you're probably doing it wrong in Objective-C.