rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Support hex colors with alpha (ARGB) #350

Closed clayallsopp closed 10 years ago

clayallsopp commented 10 years ago

Ffor reference, http://en.wikipedia.org/wiki/RGBA_color_space#ARGB, and this format is also used by Android color strings

colinta commented 10 years ago

Hey @clayallsopp, looks good!

I'll never stop in my one-man-quest to turn BubbleWrap into a completely non-polluting framework, and so here is my obligatory "can we remove BW's polluting methods" comment. :smiley: