Re:Your First iOS App – 100% Programmatically
by SeoxyS on Tuesday April 16, 2013 @08:05PM
(#5561735)
Or you could use a loop :).
[ Parent
| on HN ]
Re:Your First iOS App – 100% Programmatically
by bennyg on Tuesday April 16, 2013 @09:54PM
(#5562169)
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.