1) Model of iOS animation: three-layer tree model;
https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/CoreAnimation_guide/ Coreanimationbasics/coreanimationbasics.html#//apple_ref/doc/uid/tp40004514-ch2-sw12
Layer Trees Reflect Different aspects of the Animation state
An app using the Core Animation has three sets of layer objects. Each set of Layer objects have a different role in making the content of your app appear onscreen:
-
The Objects in the model layer tree (or simply "layer tree") is the ones your app interacts with the most. The objects in this tree is the model objects that store, the target values for any animations. Whenever the property of a layer, you use one of these objects.
-
Objects in the presentation tree contain the in-flight values for any running animations. Whereas the Layer tree objects contain the target values for a animation, the objects in the presentation tree reflect th E Current values as they appear onscreen. You should never modify the objects in this tree. Instead, these objects to read current animation values, perhaps to create a new animation starting at those value S.
-
Objects in the render tree perform the actual animations and is private to Core Animation.
2) animation frame Picture Group;
3) Display the animation frame time control;
4) the combination of animation;
Caanimationgroup: Same layer;
Catransaction: Different layer;
5) Custom animation and frame self-painting;
Features of iOS animations