Saturday, 7 September 2013

Xcode static cells text colour

Xcode static cells text colour

I have static cells and want to change text colour. I've made an outlet
for the label. In the implementation i'm using sine.textColor=[UIColor
colorWithRed:191 green:48 blue:48 alpha:1.0];
In this case the text colour shows white. However if I use
sine.textColor=[UIColor redColor]; it comes up red as expected. How?
Is there any way to change all text labels in one table view controller
with one code (so i wouldn't need an outlet for every cell)?

No comments:

Post a Comment