See how many of these you recognize…
|Randomly adding and removing constraints to get the layout you want|
|Changing content hugging and compression priorities but not sure why?|
|Conflicting constraints and a wall of debug text dumped to the console?|
|Got a layout working on the iPhone but it looks terrible on the iPad and breaks on that tiny iPhone SE screen|
|You want to add dynamic type for your users but there's no way that super-gigantic text size is going to fit|
You can try to work logically. But… Honestly adding constraints still feels like guesswork. Where do you start? When is it done?
Want to Auto Layout like a pro?. Build flexible layouts that work everywhere? But feel like… you’re going in circles.
What if you knew how to approach a layout with confidence. You knew which constraints to add. When to squeeze a view and when to stretch it. You Know When You’re Done.
You’re cool with storyboards and relaxed about building layouts in code.
Let’s also make your layout adapt to dynamic type, different devices, and screen sizes.
It’s true that learning Auto Layout can make your head spin. But it doesn’t have to be that way…
Let me teach you modern Auto Layout…
We start with topics often ignored. Learn how the view layout system works. The fundamental principles that turn Auto Layout into something predictable you can understand.
Learn what constraints you need to fully size and position a view. How to create them. Where to add them. How many you need.
Auto Layout has changed a lot. Learn Modern Auto Layout with layout anchors and guides, stack views, safe areas, and size classes. Flexible layouts. Less work. Less boilerplate.
(No you don’t need to learn the Visual Format Language)
Learn to create layouts in Interface Builder and programmatically. Use what works for you but know how to switch when you have to.
Practice makes perfect. Sharpen your Auto Layout skills with challenges that get you solving common layouts. Hints And Tips when you need them. Compare with my solution when you’re done.
Go the extra mile. Support dynamic type. Use layout variations, scrolling, and self-sizing table view cells. Create layouts that work from the smallest iPhone to the largest iPad.
Get to grips with Modern Auto Layout and keep your designer, your users (and yourself) happy. Buy my book and start creating layouts you’ll be proud of today.
Here’s what you’ll learn from the book:
Download a preview with the full table of contents, introduction, and chapter 7 on layout priorities. Minor updates to the book are free. This includes any updates for changes to Xcode 10, iOS 12 and Swift 4.
If using this book does not help you learn and improve your Auto Layout skills, let me know, within 60 Days of the date of your purchase, and I'll give you a complete refund. No argument. No risk. 100% guaranteed.
This is amazing autolayout book. I highly recommend @kharrison book.— Shawn Baek (@yoshiboarder) February 2, 2019
Great book, a reference for everyone using Auto Layout (which should be everybody!). Finished reading recently and loved it.— Mattia Valzelli (@mvalzelli) December 31, 2018
Knowing some Auto Layout can be a sharp tool for product or ux designers. It's a learning investment that can really payoff designing today's fluid iOS interfaces. Know the capabilities and limitations of your medium, check out @kharrison's new book: https://gum.co/albook— Wayne Dahlberg (@waynedahlberg) October 24, 2018
Just bought this today and it’s incredible! Seriously comprehensive and exactly what the community needs 👏— Daniel Galasko (@danielgalasko) October 23, 2018