title: How to convert UIColor to Android color (packed int)?
body: <p>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... </p>
  
  <p>I am converting Android color (packed int) to UIColor using this macro:</p>
  
  <pre><code>#define ANDROID_COLOR(c) [UIColor colorWithRed:((c&gt;&gt;16)&amp;0xFF)/255.0 green:((c&gt;&gt;8)&amp;0xFF)/255.0 blue:((c)&amp;0xFF)/255.0  alpha:((c&gt;&gt;24)&amp;0xFF)/255.0]
  </code></pre>
  
  <p>However I also need to convert a UIColor to Android colour.  Any help is very much appreciated! </p>