- [Instructor] One of the most frustrating things…about working with layout constraints…is debugging them in code.…Luckily Xcode lets us add identifiers…to our constraints to make finding them a little bit easier.…Let's go into the storyboard and select…the newsletter view from the document outline.…We want to find its height constraint,…so we'll go into its sub folder…called Constraints, select height.…Make sure the Utilities panel is open…and that we're in the Attributes Inspector tab.…
And here in the identifier field…we'll set this to newsletter height.…Don't forget to hit Enter.…For this part of the screen's animation…we want the newsletter view's height to increase…when we tap the More Info button,…giving it an expanding effect.…Now we've added an identifier for the height constraint,…now all we need to do is find it and adjust it.…Now we could easily do this inside our…constraints animation view controller file,…but it's going to make our lives a lot easier…because this is something we'll probably use more often…
- 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.