Features of iOS animations

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.