RGB Sliders on iOS with Core Graphics

I’m currently working on an iOS application that needs some UI elements to allow users to choose colors. Basically, by the time I finish I’d like to have an iOS-styled equivalent to what NSColorPanel does for us on the Mac. I figured a good place to start is to make some RGB sliders. The sliders in the view are drawn with Core Graphics. This video is running at 2x speed.