For your first challenge, put all the animation basics you've learned into practice by creating a new view animation with all the bells and whistles.
- [Instructor] Your task for this chapter is…to take what you've learned…and improve the animation experience…in our basic animation view controller.…More specifically,…your challenge is to create a new function…that'll make the loading labels alpha appear…to fade in and out and frame to pulse slightly.…Now you're going to want to declare this function…underneath animate graphic in.…You can call it whatever you like.…And you need to call it in the completion closure…of the animation we just finished writing for the graphic.…Now this for me is on line 56.…
So wherever that is for you,…go ahead and call this new function right in there.…Now here are a few hints.…You'll want to use the animate function with options,…make the animation run about one second…with no completion.…To get the right effect,…you'll want to think about…what options we've already gone over…that would create a nice flashing repeating animation…with a smooth fade between a zero and one alpha.…You'll also want to modify the transform property…like we did earlier to get that pulsing effect.…
- How animations fit into the view controller lifecycle
- Writing simple view animations
- Making use of animation options
- Adding spring animations
- Working with keyframes
- Using calculation modes
- Animating constraint values
Skill Level Intermediate
1. Getting Started
Starter project review1m 45s
2. Animation Basics
3. Springs and Transitions
4. Working with Keyframes
5. Auto Layout and Beyond
Next steps1m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.