ios a real custom control demo.you can drag the control in storyboard just like a system control