I have a UIView whose layers will have sublayers. I\'d like to assign delegates for each of those sublayers, so the delegate method can tell the layer what to draw. My que
Can you use the passed in layer parameter to construct a switch statement so you can put everything in this method(against the advice of the documents):