added colour options Raster and UIColor #2

wants to merge 7 commits into


None yet

2 participants


Hey eliperkins

I've added colour change of the DropDownView with 2 separate methods:
#1 Just init'ing with a different UIImage as a string:

 - People love raster editing.
 - I've kept your original naming convention bg-[colour].png. 

#2 Designating a UIColor and the background image as a see through texture/gradient layer which is sitting on top:

 - Quickly changeable of what colour the background is in code. 
 - The call is a kinda long in its full state.

at the moment the lighter methods point to the UIColor method but feel free to pick which is used as the default...


Although this is a step in the right direction, I'm not so sure this is the best way to go about doing it. Creating a custom initWithFrame like that isn't always desirable. Also, the background color frame should not extend full height, like the "overlayer" frame. The color should end before, and then a few pixels at the bottom to create a border and shadow.

@eliperkins eliperkins closed this Feb 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment