𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Auto Layout by Tutorials (First Edition): Build Dynamic User Interfaces on iOS

✍ Scribed by raywenderlich Tutorial Team, Jayven Nhan, Libranner Santos


Publisher
Bowker
Year
2020
Tongue
English
Leaves
381
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Learn how to use Auto Layout!

Auto Layout is Apple’s elegant solution to making your user interfaces flexible and adaptable. It can be daunting to learn to use its true power without someone to guide you.

That’s where Auto Layout by Tutorials comes to the rescue! This book will be your guide as you explore and master the many capabilities of Auto Layout.

Who This Book Is For

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.
  • 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.

One thing you can count on: After reading this book, you’ll be prepared to harness the full power of Auto Layout in all of your apps.

About the Tutorial Team

The Tutorial Team is a group of app developers and authors who write tutorials at the popular website raywenderlich.com. We take pride in making sure each tutorial we write holds to the highest standards of quality. We want our tutorials to be well written, easy to follow, and fun.

If you’ve enjoyed the tutorials we’ve written in the past, you’re in for a treat. The tutorials we’ve written for this book are some of our best yet - and this book contains detailed technical knowledge you simply won’t be able to find anywhere else.

✦ Table of Contents


About the Cover
About the Authors
About the Editors
What You Need
Book License
Book Source Code & Forums
Chapter 1: Introducing Auto Layout
What is Auto Layout?
Beginning Auto Layout
UIView and the View Hierarchy
Thinking in Auto Layout
Constraints
Intrinsic content size
Priorities
Chapter 2: Construct Auto Layout with the Interface Builder
Setting up the launch screen layout using a storyboard
Using Xibs
Challenges
Key points
Chapter 3: Stack View
Implementing a vertical stack view
Adding constraints to a stack view
Embedding views into a horizontal stack view
Alignment and distribution
Nesting stack views
When not to use stack views
Challenges
Key points
Chapter 4: Construct Auto Layout with Code
Launching a view controller from the storyboard in code
Launching a view controller without initializing storyboard
Building out a view controller’s user interface in code
Auto Layout with visual format language
Benefits and drawbacks from choosing the code approach
Challenges
Key points
Chapter 5: Scroll View
Working with scroll view and Auto Layout
Adding the Options Menu to the Profile Screen
Challenge
Key points
Chapter 6: Self-Sizing Views
Accomplishing self-sizing views
Table views
Collection View
Key points
Chapter 7: Layout Guides
Available Layout Guides
Creating layout guides
Creating custom layout guides
Key points
Chapter 8: Content-Hugging & Compression-Resistance Priorities
Intrinsic Size and Priorities
Practical use case
Challenge
Key points
Chapter 9: Animating Auto Layout Constraints
Animate Auto Layout using Core Animations
Key points
Chapter 10: Adaptive Layout
One storyboard to run them all
Size classes
Adaptive presentation
UIKit and adaptive interfaces
Adaptive images
Challenge
Key points
Chapter 11: Dynamic Type
Why Dynamic Type?
Setting the preferred font size
Making labels support Dynamic Type
Making custom fonts support Dynamic Type
Managing layouts based on the text size
Supporting Dynamic Type with UITableView
Supporting Dynamic Type with UICollectionView
Challenges
Key points
Chapter 12: Internationalization & Localization
What’s internationalization and localization?
Auto Layout and internationalization
Previewing languages in Interface Builder
Key points
Chapter 13: Common Auto Layout Issues
Understanding and solving Auto Layout issues
Common performance issues
Key points
Chapter 14: Under the Hood of Auto Layout
Alignment rectangles versus frame rectangles
Fitting Auto Layout in the big picture
Solving constraints
Solving equality constraints
Solving linear programming problems
Cassowary
Key points
Chapter 15: Optimizing Auto Layout Performance
Betting safe on performance with Interface Builder
Factoring in the render loop
Why update constraints
Constraints churn
Unsatisfiable constraints
Constraints dependencies
Advanced Auto Layout features and cost
Apple optimizing UIKit
Key points
Chapter 16: Layout Prototyping with Playgrounds
Getting started with playgrounds
Creating a custom button
Moving code to the Sources folder
Working with more complex custom views
Key points
Chapter 17: Auto Layout for External Displays
Getting started
Building a layout for an external display
Configuring an external display window
Handling an existing external display connection
Connecting a new external display
Disconnecting an external display
Accommodating external display resolutions
Key points
Chapter 18: Designing Custom Controls
Getting started
Applying adaptive layout to a custom view
Integrating a custom view from NIB to storyboard
Visualizing XIB/NIB files in storyboards
Preparing custom views for Interface Builder
Making a custom UIButton
Making a custom UIControl
Implementing accessibility features.
Key points
Conclusion


πŸ“œ SIMILAR VOLUMES


iOS Auto Layout Demystified second Editi
✍ Erica Sadun πŸ“‚ Library πŸ“… 2013 πŸ› Addison-Wesley Professional 🌐 English

Auto Layout transforms the way you create iOS user interfaces. As flexible as it is powerful, Auto Layout gives you unprecedented control over your iOS user interfaces. But Auto Layout has a reputation for difficulty. InΒ iOS Auto Layout Demystified, Second Edition, world-renowned iOS developer and a

iOS Auto Layout Demystified second Editi
✍ Erica Sadun πŸ“‚ Library πŸ“… 2013 πŸ› Addison-Wesley Professional 🌐 English

Auto Layout transforms the way you create iOS user interfaces. As flexible as it is powerful, Auto Layout gives you unprecedented control over your iOS user interfaces. But Auto Layout has a reputation for difficulty. InΒ iOS Auto Layout Demystified, Second Edition, world-renowned iOS developer and a

iOS Auto Layout Demystified, 2nd Edition
✍ Erica Sadun πŸ“‚ Library πŸ“… 2013 πŸ› Addison-Wesley 🌐 English

Auto Layout transforms the way you create iOS user interfaces. As flexible as it is powerful, Auto Layout gives you unprecedented control over your iOS user interfaces. But Auto Layout has a reputation for difficulty. In iOS Auto Layout Demystified, Second Edition, world-renowned iOS developer and a

Real-World iOS by Tutorials (First Editi
✍ raywenderlich Tutorial Team, Renan Dias, Aaqib Hussain, Josh Steele πŸ“‚ Library πŸ“… 2022 πŸ› Razeware LLC 🌐 English

<span>Learn how to create real-world iOS apps</span><p><span>Working on app development can be hard, there's a lot of documentation out there, but developers struggle to find a clear template when deciding things like app architecture, how to persist data and how to create robust and scalable code.<

iOS Test-Driven Development by Tutorials
✍ Joshua Greene, Michael Katz πŸ“‚ Library πŸ“… 2019 πŸ› Razeware LLC 🌐 English

Learn how to test iOS Applications! iOS Test-Driven Development introduces you to a broad range of concepts with regard to not only writing an application from scratch with testing in mind, but also applying these concepts to already written applications which have little or no tests written for th

Android Animations by Tutorials (First E
✍ raywenderlich Tutorial Team, Filip BabiΔ‡, Prateek Prasad, Alex Sullivan πŸ“‚ Library πŸ“… 2021 πŸ› Razeware LLC 🌐 English

<span>Learn How to Use Animations in Android!</span><p><span>Over the years Android has provided many APIs for creating animations. An Android developer must create visually appealing and useable apps by incorporating a wide variety of these animation tools in the right places.</span></p><p><span>An