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...
Added string based background selection
-image file needs to be in format of "bg-[insert unique string here].png" : for example green,red, but also could include backgrounds with patterns.
Added a UIColor implementation of the view drop down. with a see thro…
…ugh gradient png
added window versions and clarified the backgroundImage.
edit to the example showing the verbose options....
added setPrettyLayer to select a embellishment png for the overlay ha…
…s to be saved as bg-[theStringYouUse].png
consolidated my two init's to a single "initWithFrameCustom" makes it cleaner;
minor simplification edit to the showDropDownView with delay as the l…
…ast heirachcal option
changed UIColor as the default for the simpler calls
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.