I have gotten pretty far in mobile development figuring things out on my own, but I'm having a lot of trouble figuring this one out...
I am converting Android color (packed int) to UIColor using this macro:
#define ANDROID_COLOR(c) [UIColor colorWithRed:((c>>16)&0xFF)/255.0 green:((c>>8)&0xFF)/255.0 blue:((c)&0xFF)/255.0 alpha:((c>>24)&0xFF)/255.0]
However I also need to convert a UIColor to Android colour. Any help is very much appreciated!