RGB para UIColor

Declare em seu app .pch #define rgb(R,G,B) [UIColor colorWithRed:R/255.0f green:G/255.0f blue:B/255.0f alpha:1.0]#define rgba(R,G,B,A) [UIColor colorWithRed:R/255.0f green:G/255.0f blue:B/255.0f alpha:A] Depois disso, você pode usar como mylabel.textColor = rgb(231, 76, 60);myview.backgroundColor = …

Continuar lendo