Auto Layout Fundamentals

Stop Fighting Auto Layout

Does This Sound Familiar?

"I've never taken the time to learn Auto Layout. The result is that I'm often spending hours to create a user interface that I'm happy with."

Prefers to Stay Anonymous

In Auto Layout Fundamentals, you learn about the basic and fundamental concepts that power Auto Layout. At the end of this course, you have a solid understanding of Auto Layout and how you can use it in your own projects.

This course is aimed at both beginner and more experienced developers. Developers often don't take the time to learn the ins and outs of Auto Layout and this course touches on the building blocks of the Auto Layout interface.

What Can You Expect?

We start this course by comparing Auto Layout with other solutions for creating layouts and I highlight why Auto Layout is the preferred solutions for modern applications.

After taking a close look at the anatomy of constraints, we zoom in on constraint priorities, implicit and explicit constraints, and intrinsic content size. Along the way, we discuss other important concepts, such as content hugging and content compression resistance priorities, required and optional constraints, and layout ambiguity.

With the basics covered, we explore the tools Interface Builder hands us to create layouts with Auto Layout. A course about the fundamentals of Auto Layout isn't complete without a detailed look at stack views, a great addition to Auto Layout. I leave you with a few tips and best practices, and I show you how you can debug issues that are related to Auto Layout.

It is important to know that we don't focus on the creation of Auto Layout in code. This is a more advanced application of Auto Layout. In fact, in Auto Layout Fundamentals, you don't need to have any knowledge of Swift or Objective-C.

Don't Take My Word for It

"Even though I was already familiar with MVVM, Bart's course showed me a different perspective on MVVM by refactoring a complete application built with MVC. He illustrates how MVVM can improve a project's architecture and testability, and how reactive programming fits in."

Damian Esteban, Chief Technology Officer, betterPT

"Cocoacasts Plus is for me. The content is awesome and the commitment is great. I'm a Mobile Developer Advocate at AWS and my focus is on iOS. I use your best practices when providing samples, tutorials, or writing snippets of code for a blog."

Dennis Hills, Mobile Developer Advocate, Amazon

"It has been a pleasure to work with Bart. I've found him to be diligent, conscientious, and reliable. His own competence has made my job much easier. And his skill as an iOS developer continues to amaze me."

Adam Brown, Code & Mobile Development, Envato

"Bart helped me understand and implement MVVM in an existing project that suffered from Massive View Controller syndrome. We analyzed the problem, developed a strategy, and refactored the view controller, using MVVM and reactive programming. The result is a lean view controller and a focused view model that's easy to test."

Win Raguini, Lead iOS Developer, MasterClass

"This is one of the finest Swift material available on the internet. Thank you."

Rakesh Kusuma

"A big thank you. This has been the single most effective course I've taken about iOS. I put it into practice right away and our App Store app, and its testing, has benefited greatly."

Jake Young, Chief Information Officer, ACP Decisions

"This is by far the best explanation of Core Data I have read. After working on my first Core Data project for the last three days, I actually understand what you are saying here."

Gravity Zero Design

"Wow, I really love these tutorials. Great job. You are very good at explaining things from the ground up in a way that is both fast (not boring) and yet comprehensive."

Jonas Nelle

Is This Course for You?

You Want to Learn Auto Layout

You already have experience building applications using Swift and Xcode, but you haven't taken the time to learn Auto Layout.

You Are Frustrated With Free Tutorials

There's a lot of tutorials and courses available. Most of them are out of date and many of them don't teach how to correctly use Auto Layout in a modern Cocoa application. You want to learn Auto Layout once and be done with it.

Auto Layout Hasn't Clicked Yet

Auto Layout doesn't seem to be that difficult. Yet you're a bit embarrased to admit that you still don't quite know how the different pieces fit together. Don't worry. You're not alone. And don't forget that I'm here to help you.

You Want to Learn From a Professional

There are hundreds of free tutorials and videos to learn Auto Layout. I show you how to use and integrate Auto Layout in a modern application powered by Swift.

Frequently Asked Questions

When does the course start and finish?

The course starts now and never ends. You learn at your own pace. You decide when you start and when you finish. I am here to help you along the way if anything's unclear.

How long do I have access to the course?

How does lifetime access sound? After purchasing the course, you have unlimited access to this course for as long as you like. You can access the course on any device you own.

Can I get a refund if I'm not happy?

I would never want you to be unhappy. If you're unsatisfied with your purchase, contact me within the first 30 days and I'll give you a full refund.

Something's not clear. Where can I get help?

If you need help with something related to the course, then get in touch with met at I'm here to help you finish the course successfully.

Who Is Your Teacher?

My name is Bart Jacobs and I’m the founder of Code Foundry, a mobile development company. I’ve been teaching since 2004 and I currently focus primarily on teaching Swift developers how to create robust, scalable applications for Apple’s platforms using Swift and the Cocoa frameworks.

I’m crazy about film music and I have a soft spot for tea and coffee. I’m currently weaned off coffee, but we’ll see how long that lasts.

What Does the Course Cover?

1. What Is Auto Layout
What Is Auto Layout?
2. Creating a Layout With Auto Layout
Creating a Layout With Auto Layout
3. Anatomy of a Constraint
Anatomy of a Constraint
Constraint Priorities and Unsatisfiable Layouts
Implicit and Explicit Constraints
What Is Intrinsic Content Size
4. Working With Constraints In Interface Builder
Creating Layouts In Interface Builder
Editing Constraints In Interface Builder
5. What Are Layout Guides
What Are Layout Guides
6. Working With Stack View
Working With Stack Views
7. Best Practices and Common Pitfalls
Best Practices and Common Pitfalls

Instant and Unlimited Access
to 400+ Cocoacasts Tutorials


$19 / month

Pay Once a Month
30 Day Money Back Guarantee


$8.25 / month (billed annually)

Pay Once a Year and Save $129
30 Day Money Back Guarantee
Access to All Books


$299 / once

Pay Once
30 Day Money Back Guarantee
Access to All Books