views:

58

answers:

1

Hey,

Because the the UISwitch is not so easy to customize i decide i wanna build one alone. that works pretty good except for one thing. i was subclassing UIView when i was building it and now i dont have the "ValueChanged" control that i need for the Interface builder. can some1 tell me how can i add ControlEvents to my custom control ??

thank you very very much !

A: 

Problem solved i should have inherit from UIControl and not UIView

Orki