I have several CALayers
that I'm trying to animate to a new zPosition
with each layer slightly delayed from the others.
Each animation should take 0.25 seconds and start 0.05 seconds after the previous animation started. At the end of each animation the layer will be removed from the layer tree.
I've successfully been using the -animationDidStop:finished:
delegate method to remove my layers as they finish but I've not been able to order the animations properly.
Is it possible to schedule animations in this way, and how?