PDA

View Full Version : Subclassing a UI component and associating it with IB




RossOliver
Jun 10, 2008, 01:32 PM
Hey,

I have built several UIView's in Interface Builder and some components, such as UISlider, can't be customized enough in the editor. Is there a way I could programmatically edit a UISlider used in IB to give it custom min/max images and a custom slider button image?

I imagine any changes done in XCode won't be reflected until runtime (i.e. won't be reflected in IB), which isn't a huge deal. I'm just unsure how best to go about this - any direction would be appreciated...

Cheers