Shape Shape point chapter-list Group Group Group Group Group Shape Copy 12 Shape Shape Copy 3 Shape Shape dropdown editor editor Combined Shape grid Shape Copy 4 Shape Copy 7 Shape language language Shape megaphone paperback Shape platform noun_419259-2 copy play-icon Group BS-Question-Rounded-Circle quotes noun_610406 stacked-books-1 stacked-books-2 Group Group Group Group Group Group Group Group Group Path
New

Auto Layout by Tutorials

$29.99 $59.99 5/5 3 reviews · Write a Review
  • Platform iOS 13
  • Language Swift 5.1
  • Editor Xcode 11

This book teaches you Auto Layout, Apple’s elegant solution to making your user interfaces flexible and adaptable.

Developer Guide

Intermediate

For Intermediate Developers

Learn How to Use Auto Layout!

This book will be your guide as you explore and master the many capabilities of Auto Layout.

This book is for iOS developers of all skill levels, from those just getting started building user interfaces to the experienced hands who want to get more from Auto Layout.

Topics Covered in Auto Layout by Tutorials

  • Interface Builder: Learn to use Interface Builder to construct and maintain your user interfaces.
  • Stack Views and Scroll Views: Learn how these special view types interact with Auto Layout and how best to utilize them in your apps.
  • Self-Sizing Views: Discover how to make your user interface dynamically adapt to its content.
  • Animating Constraints: See how to animate your Auto Layout constraints to provide feedback, focus user attention and improve navigation.
  • Adaptive Layout: Learn to use Auto Layout to make adjustments for screen size, orientation, Dynamic Type size and more.
  • Resolving Common Issues: Discover how to investigate when things go awry and learn how to resolve Auto Layout conflicts.

After completing this book, you’ll be prepared to harness the full power of Auto Layout in all of your apps.

Table of Contents

Section I: Beginning Auto Layout

1.

Introduction - New

Get an overview of Auto Layout and how to start “thinking in Auto Layout”. Learn what constraints are and the formula that defines them. Meet other key concepts such as intrinsic content size and priorities.

2.

Construct Auto Layout with the Interface Builder - New

Learn to use Xcode’s visual tool, Interface Builder, to construct a user interface complete with all Auto Layout constraints. See how to preview your interface on multiple device sizes and orientations. Then, learn to create .xib files to describe a smaller — and potentially reusable — subset of a UI.

3.

Stack View - New

Learn about UIStackView, an intelligent view container that makes many layout decisions for you. Build a complex layout using nested stack views. See how using stack views can eliminate the need for you to manually construct Auto Layout constraints.

Section II: Intermediate Auto Layout

4.

Construct Auto Layout with Code - New

Learn how to build your user interface without using Interface Builder. Explore the Visual Format Language (VFL), which you can use to describe a set of constraints. Learn to refactor UIs built with Interface Builder into code.

5.

Scroll View - New

Use scroll views to create user interfaces that go beyond the size of a physical screen. Learn about the special challenges they present when using Auto Layout and discover how to configure them.

6.

Self-Sizing Views - New

Learn how to configure views that change size to account for dynamic content. See how to use Auto Layout to configure dynamically-sized cells in table views and collection views.

7.

Layout Guides - New

Explore using Layout Guides to create space in your layout without using empty views. Learn about the system-provided guides and how to create your own custom guides.

8.

Content-Hugging & Compression-Resistance Priorities - New

Discover what happens when the Auto Layout engine must choose between conflicting constraints. Learn how to use priorities to communicate how the system should resolve ambiguities to create the layout you want.

9.

Animating Auto Layout Constraints - New

Learn to animate constraints to create unique and engaging user experiences in your apps. See how animation can provide feedback, focus user attention and improve navigation.

10.

Adaptive Layout - New

See Auto Layout’s real power come to life as you learn how to build adaptive user interfaces that adjust to screen size and orientation. Learn about traits such as layout direction, dynamic type size and size classes. Discover how trait collections allow you to build an adaptive layout without writing device-specific code.

11.

Dynamic Type - New

Learn to make your app more accessible by supporting Dynamic Type. Understand how Auto Layout and Dynamic Type interact so you can manage layout changes in your app based on user type size preferences.

12.

Internationalization & Localization - New

Learn how Auto Layout can assist you in internationalizing your app. See how to test if your app is ready for localization. Discover the things you must consider when creating your constraints to allow your app to handle other languages seamlessly.

13.

Common Auto Layout Issues - New

Learn how to investigate when Auto Layout doesn’t give you the desired result. See how to read Auto Layout’s log messages and how to use other Xcode tools, such as symbolic breakpoints and the view debugger, to resolve Auto Layout conflicts.

Section III: Advanced Auto Layout

14.

Under the Hood of Auto Layout - New

Pull back the curtain and see the inner workings of Auto Layout. Explore the math behind the magic and discover the “why” behind the behavior of the Auto Layout engine.

15.

Optimizing Auto Layout Performance - New

Learn to fine-tune your app’s Auto Layout performance. Learn about best practices and about common mistakes that cost you performance.

16.

Layout Prototyping with Playgrounds - New

Learn to use Xcode playgrounds to prototype your user interfaces. See how this technique can streamline your development process and make you more efficient.

17.

Auto Layout for External Displays - New

Learn how to support external displays in your app. Learn to build a layout for external display, how to handle display connect and disconnect events, and how to accommodate different external display resolutions.

18.

Designing Custom Controls - New

Learn techniques for creating custom user interface controls that work well with Auto Layout. Integrate many of the things you’ve learned in this book to create control animations, adjust to size classes and more.

Meet the Team

Average Rating

5 /5

Leave a review for this product

3 reviews

Auto Layout by Tutorials

This book teaches you Auto Layout, Apple’s elegant solution to making your user interfaces flexible and adaptable.

Top