The first step in a new learning experience is understanding the basics of the topic. In this video, go through the animatable properties of the UIView class and how animations fit into the view controller lifecycle.
- [Instructor] Now that we've got…our starter project sorted out,…let's talk about what we can actually do…with a view's properties as far as animating goes,…and where these animations fit best…in the view controller lifecycle.…Since position and movement animations…are probably the most common, let's talk about those first.…Now, the easiest way to reposition a view…is by adjusting its center X or Y values…or simply setting the center to a new CG point.…We'll be using the center property…for most of our repositioning needs throughout the course.…We can also move views by accessing…the origin X and Y values through the frame property…if that's what we need.…
Just remember that the X and Y origin coordinates…are calculated from the top left of the view in IOS.…If we need to move the view's actual content around,…we have the option of animating the view's bounds.…Now, what if we wanted to change the size of a view…with an animation?…Well, we could use the frame property again…to access the view's width and height,…
- 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.