Entries from 2011-03-24 to 1 day
こちらのリンクより。 1 // Color macros 2 #define RGB(r, g, b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1] 3 #define RGBA(r, g, b, a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a] 確かにこれは便利か…