Learn the solution to the spring rolls challenge.
(light music)…- [Instructor] For the simplest solution…you'll need two nested vertical stack views…in a horizontal stack view,…the two buttons in one vertical stack view…and the label in image in the other vertical stack view.…Go ahead and stop the app that we were running before,…and if you go look at the spring rolls view controller,…head over to layout views, you'll see there's nothing…there yet so you can either type all that code in…or as I like to do,…copy it from somewhere else.…
Save yourself some time.…So I'm gonna go ahead and copy all of this layout view…from maki rolls, and we're gonna modify it…instead of typing all over again…and we'll paste it in.…And the first thing I wanna do…is I have one nested view and I need another one.…So I'm gonna take the button stack view stuff here,…copy it, paste it underneath.…
And that's gonna give me a bunch of errors…until I'm finished fixing stuff.…But I wanna start fixing stuff in the button stack view.…The button stack view, the major thing I gotta do…is I gotta change this vertical.…
- 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.