I seem to enjoy designing new UIViews
and UIControls
that implement their own:
- (void)drawRect:(CGRect)rect;
function. This work well for me, especially when composed using UIViews
in Interface Builder.
But composing them in Interface Builder is annoying because they just show up as boring rects with backgroundColors. Boring.
It would be great if the views would actually render themselves as the built-in controls do.
Is there any way I can structure my project so that Interface Builder will render my custom views?