
Explore the course layout, access GitHub resources with examples and design challenges, and start with installing xcode to follow along and experiment.
Check your Xcode version, upgrade via Apple developer downloads or App Store if needed, install Xcode, create a single view app, and run it with Command R to verify simulator.
Learn how auto layout anchors drive constraints to position views on iOS by pinning a label to the top-left with offsets, using center and baseline anchors, and overriding intrinsic sizes.
Learn to position and size UI elements with autolayout anchors in Xcode, using safe area, center X and Y anchors, and constraints for leading/trailing and top/bottom, sizing by pinning.
Discover how layout guides keep controls visible and well spaced across iOS apps, using the safe area, layout margins, and readable content guides to adapt to languages and locales.
Build a safe area lab in iOS using Xcode to understand safe area layout guides, add top and bottom labels, and center them with auto layout anchors.
Observe how the default layout margin guides add top, bottom, and side margins around a view, and compare them with safe area guides that lack side padding.
Master layout margins as spacer guides to replace dummy views, and learn to align leading, middle, and trailing guides for evenly spaced buttons in auto layout.
Discover how the readable content guide differs from the default layout guide and adapts text width to create a readable single-column layout across portrait and landscape.
Design a Spotify playback screen using auto layout by building the top half, adjusting spacing and margins, and iterating with design challenges and code setup.
Follow a step-by-step build of the Spotify configuration screen using auto layout anchors, margins, and intrinsic content size to align labels, switches, and a progress view.
Discover intrinsic content size and its role in auto layout, enabling iOS controls to size without explicit constraints, and learn about content hugging, compression resistance, stack view, and constraint priorities.
Explore intrinsic content size and how content hugging and compression resistance let controls flex across devices, using optional constraints and priority-based anchors.
Explore how intrinsic content size determines a label's natural width and height and how constraints and anchors override or respect it in iOS auto layout.
This lab demonstrates using intrinsic content size and content hugging to resolve autolayout ambiguities between a label and a text field, fixing the label and letting the text field stretch.
Learn to create a responsive hero image with auto layout using anchors and intrinsic size, then resolve vertical ambiguity by tuning content hugging and compression resistance.
Practice auto layout by building a Spotify iMessage preview screen with image, labels, a play/pause button, progress bar, and a deep link to Spotify.
Explore practical auto layout techniques for a Spotify player user interface, using sketch-driven anchors, intrinsic content size, center alignment, image scaling, and attributed button text with dynamic font sizing.
Explore the UI stack view as a powerful container that organizes controls with minimal constraints. Understand distributions, alignment, and intrinsic content size, and why inner controls must size themselves.
Demonstrate how stack views in Swift and iOS act as empty containers that organize buttons horizontally or vertically, with distribution, alignment, and spacing governed by constraints and intrinsic content size.
Master stack view distributions in auto layout by understanding fill, fill equally, fill proportionally, equal spacing, and equal centering, and how intrinsic content sizes influence layout.
Explore stack view distributions in action, including fill, equal spacing, centering, and intrinsic content size, and learn to resolve layout ambiguity by lowering a label's hugging priority to enable stretching.
Learn to build reusable custom views for stack views, make stacks scrollable, and apply padding, frames, and spacer controls to create clean, flexible iOS layouts.
Learn to create reusable custom views with a row view combining a label and switch, give intrinsic content size, and use stack views pinned to edges for flexible, maintainable layouts.
Pin scroll view to the outside edges and stack view to the inside edges to create a scrollable stack view, and override intrinsic content size with a width anchor.
Add padding to stack views using layout margins relative arrangement and directional layout margins with edge insets, and adjust the width anchor to account for horizontal padding.
Learn to insert space in stack views with spacer views, injecting a height-constrained, breakable 200 spacer every fifth row to create flexible headers and dividers.
Practice extracting two custom views from a large view controller— a reusable row view and a fade view with min/max labels and a progress bar— and apply constraints across interface.
Learn to extract custom views in auto layout by creating reusable row views and a cross-fade view, flush to the parent with intrinsic content size.
Embed the controls in a vertical stack view to practice auto layout in a view controller, using fill distribution, fill alignment, and about 20 points of spacing.
Learn to build interfaces with a stack view by configuring axis, distribution, alignment, and spacing; add arranged subviews and pin the stack for automatic, constraint-efficient layouts.
Master stack views as containers with no intrinsic size that rely on their children. Respect distribution differences, ensure intrinsic size for each subview, and use layout guides and spacers.
Explore adaptive layouts in auto layout, using orientation changes, adjustable constraints, and visibility to create fluid, stack view interfaces.
Learn to adapt autolayout for runtime changes by tweaking constraint constants, enabling and disabling constraints, and toggling visibility, illustrated with a Spotify preview player across portrait and landscape.
Explore adaptive layout by adjusting constraint constants at runtime, storing constraints as variables, and using a top layout anchor to move a label with a button; learn dynamic constraint updates.
Learn to adapt layouts by enabling and disabling constraints, toggling leading and trailing anchors to nudge the UI, and exploring visibility as an alternative approach for dynamic Swift iOS layouts.
Toggle a view’s visibility to adapt layouts by flipping the isHidden flag on a label within a stack view, using a button to show/hide content and refine adaptive design.
Learn to respond to iPhone orientation changes by nudging a label using auto layout constraints, toggling stack view axes and activating top and center constraints for portrait and landscape.
Adapt layouts for orientation changes using spacer views to add dynamic padding in a stack view. Toggle top and bottom spacers to adjust spacing in portrait and landscape.
Design adaptive Spotify player layout that reflows from portrait to landscape; detect orientation and use custom views with intrinsic content size, anchors, and spacers to center controls and progress.
Learn adaptive layout with constraints by tracking top and center y constraints to adapt a player view for portrait and landscape, using stack views and a container for Spotify button.
Explore adaptive layout using spacers and visibility to toggle top and bottom spacers for portrait vs landscape, comparing to constraint-based approaches.
Celebrate wrapping up level up in auto layout and gain the tools to build iOS applications through practice, real-world projects, and continued skill development.
Want to learn how to build beautiful iOS apps? Tired of not knowing how to get your layouts just right? Whether you are an up and coming iOS developer, or a professional who needs to get things done right, this course teaches you the fundamentals of Auto Layout, enabling you to build any app, exceed expectations in any job, and just build great looking iOS app’s professional or for yourself.
LEVEL UP IN AUTO LAYOUT
This course teaches you all the fundamentals and concepts required to build iOS applications using Auto Layout.
TOPICS COVERED
Constraints
Pinning & Aligning
Intrinsic Content Size
Content Hugging & Compression Resistance
Layout Guides
Safe Areas
Priorities
Stack Views
Scroll Views
WHAT YOU GET
Hand crafted videos and walkthroughs on fundamentals of Auto Layout.
Countless examples, challenges, and solution to most common problems.
Solid foundation for becoming a professional iOS Engineer.
TESTIMONIALS
I highly recommend this course if you want to learn how to create your UI's programatically. This course is excellent and super easy to follow. The theory is explained really well making it easy to understand what it is exactly we are doing and how we are laying items out on the screen. Before this course I was struggling to create layouts programatically with UIKit without story boards. Just after finishing the first section, my foundation/basics were solidified and went on to effortlessly convert my previous projects into programatic UIKit removing my reliance on story boards.
Amazing stuff!! Cannot find this information on YouTube
Jonathan is a great teacher, the examples he uses are clear and can be applied to real app designs.
Outstanding course, explains Auto Layout very well, has a lot of very helpful examples, so this course can be highly recommended
Very glad I am taking the course. The number one reason why I like the course is that the instructor provides decent examples programmatically (not by using Interface Builder)
It's amazing the way he teaches, delivers small chunks of knowledge then nudge us to try the solution. He answers all of your questions kindly. For me, it was an awesome course. We have great content, in CustomViews, StackView, Spacers, and share with us incredible tips/tricks which make better learning. I highly recommend his courses. Thank you, Jonathan.
This is the course I wish existed when I first started learning iOS development. Thank you Jonathan!
Great course, great teacher thank you for everything.
I'm really enjoying the course. Jonathan makes learning iOS development easier to understand and fun. He does a great job of explaining the concepts and helps reinforce it with the labs and challenges. Highly Recommend for learning iOS Development