Customizable control based on UISwitch and UISegmentedControl written in Objective-C.