Join Steven Lipton for an in-depth discussion in this video What you should know, part of iOS Development: Auto Layout Programmatically.
- [Instructor] For this course, I'm going to assume you are an advanced beginner or better at Swift and iOS development. I'm going to assume you've programmed in Swift before and know your way around methods and properties. You'll be adding a lot to arrays. It's a plus if you've worked with arrays. When we get to the last chapter, you'll be using some advanced array methods. If you are unfamiliar with predicates, you can check out the array tricks video in the iOS Development Weekly Tips for more information. You might have tried Auto Layout in the storyboard.
That's great, but I'm going to start from scratch from Auto Layout. So if you haven't, you're perfectly okay. Many people don't and swear by coding Auto Layout instead of using the storyboard. I will point out one thing I will not do here. I'm going to assume you can code your own buttons, labels, and image views. We'll start from the step after adding those to your view. Check out other courses in the library to learn more about adding these programmatically. And take a look at the methods in the example project if you wanna know more.
- When and why to use Auto Layout programmatically
- Creating constraints in Swift
- Resolving errors in Auto Layout
- Using the safe area
- Working with the Visual Format Language
- Adding a stack view
- Harnessing the power of inequalities and priorities in constraints
- Understanding traits and size classes
Skill Level Intermediate
Learning LayoutTest for iOS Developmentwith Kyle Sherman1h 43m Intermediate
Designing iOS and Android Appswith Renata Phillippi1h 6m Intermediate
1. Basic Concepts in Auto Layout
2. Coding Constraints
3. The Visual Format Language
4. Stack Views
5. Advanced Layout
6. Size Classes
Next steps1m 42s
- 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.