How do I define constant values of UIColor?
Posted
by mobibob
on Stack Overflow
See other posts from Stack Overflow
or by mobibob
Published on 2010-04-27T03:26:08Z
Indexed on
2010/04/27
4:23 UTC
Read the original article
Hit count: 404
I want to do something like this, but I cannot get a cooperative syntax.
static const UIColor *colorNavbar = [UIColor colorWithRed: 197.0/255.0 green: 169.0/255.0 blue: 140.0/255.0 alpha: 1.0];
I suppose that I could define macros, but they are ugly.
© Stack Overflow or respective owner