Beginning iOS Animations

Oct 23 2018 · Video Course (2 hrs, 1 min) · Beginner

Get started with iOS Animations! Learn about animating Auto Layout constraints, views, and custom view controller transitions.

Version

  • Swift 4, iOS 11, Xcode 10

Animating Constraints

Introduction

2:10 Free

In this section you'll learn how to animate Auto Layout constraints in iOS. Find out what animation is and how it can help your apps in this introductory video!

1

Animate the constant property of an Auto Layout constraint as you create your first view animation for the Packing List app.

2

Try animating another constraint on your own, and get a sneak peek at animating view properties directly.

3

Learn how to animate the constraints of views you create dynamically and constrain entirely in code.

4

In this challenge, animate constraint constants to move a view offscreen. Try using the delay parameter to start the animation after a short wait.

5

Learn the differences between animating constants and multipliers, then try animating a multiplier using a search and replace approach.

6

Try your hand at another way to animate constraint multipliers: toggling between two constraints with IBOutlets.

7

It's time to add a little fun to your animations! Learn how to make spring-driven animations and customize their effects.

8

Learn to use view transitions; a set of predefined view animations that can help you quickly add and remove views with style.

9

In this challenge, have another try at using view transitions and explore the different ways to trigger them.

10

Conclusion

0:34

In this video you'll review what you've learned in this section, and find out what's next in your animation journey.

11

Animating View Properties

In this section you'll start animating views directly. What's the difference between animating constraints and animating view properties?

12

Build an animation to cross-fade between two views using three different view properties and some new techniques.

13

Try adding another animation using a view property. This time, use alpha to fade a single view in and out.

14

Learn how to scale, translate, and rotate views with the powerful, but sometimes confounding, transform property.

15

In this challenge add variation to your last animation to slide labels to and from different directions.

16

Experiment with combining changes in multiple transform properties to create complex animations, and find out how they can go wrong.

17

Create a complex animations that encompasses multiple properties and multiple steps with a keyframe animation.

18

In this challenge, solidify your keyframe animation skills by adding one more keyframe animation to your project.

19

Conclusion

0:25

Review what you've learned in this section, and prepare to take your animation skills to the next level.

20

View Controller Transitions

Learn about view controller transitions and why you should consider customizing them with unique animations in your apps.

21

Take a tour of the Beginning Cook app and set it all up for custom view controller transition animations.

22

Now that you have several view animations under your belt, try to plan out the steps needed to build the presentation animation.

23

Follow through on your plan from the previous challenge by implementing all of the steps to create a custom presentation animation.

24

In this challenge, plan the steps required to take the presentation animation you've completed, and run it in reverse as a dismiss animation.

25

Take your plan for the dismiss animation and put it into action to create a completey customized view controller transition animation.

26

Wrap up your custom view controller transition with a few final steps to make the animation really shine.

27

Conclusion

1:37

Review what you've learned in this section and the course, and find out what more there is to learn about animating in iOS.

28

Contributors

Comments