Skip to Content
UX Design for Mobile
book

UX Design for Mobile

by Pau Giner, Pablo Perea
July 2017
Intermediate to advanced
354 pages
9h 58m
English
Packt Publishing
Content preview from UX Design for Mobile

Animations

You can create a new animation object to change the properties of a layer, such as the position or the color. The final state of the layer can be defined by setting the properties, or creating states for that layer, which will be another way of defining the value of the properties that will change their values during the animation. Additionally, we can define the time it will take to perform the animation and curve that will be applied to calculate the evolution of the values that change during the animation. In the next example, we will create an animation using the animate function to move our layer from its position to a new position, applying a Bezier easeOut curve:

myFirstLayer.animate    x: 200    options: curve: Bezier.easeOut ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical UX Design

Practical UX Design

Scott Faranello
Designing UX: Forms

Designing UX: Forms

Jessica Enders
User Experience Design

User Experience Design

Satyam Kantamneni

Publisher Resources

ISBN: 9781787283428Supplemental Content