When applying an animation to a layer with a sublayer, how do you prevent the sublayer from inheriting the animation?
I've tried .removeAllAnimations on the sublayer, both after adding the animation and in the animationDidStart() delegate.
I think it has something to do wih the layer being copied when the animation is applied, but still can't figure out a solution.