Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · 22 Results

Contained in: Auto Layout by Tutorials Auto Layout
iOS & Swift

Chapter in Auto Layout by Tutorials

Introducing Auto Layout

…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…
iOS & Swift
Auto Layout by Tutorials
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. Take a deep…
iOS & Swift

Chapter in Auto Layout by Tutorials

Construct Auto Layout with Code

There are two ways to implement Auto Layout into your projects. You already learned how to implement Auto Layout using Interface Builder. Now, it’s time to learn the second approach: using code. Almost every iOS developer eventually raises the question: Should you construct your UI using storyboards or code…
iOS & Swift

Chapter in Auto Layout by Tutorials

Under the Hood of Auto Layout

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Common Auto Layout Issues

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Optimizing Auto Layout Performance

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

Chapter in Auto Layout by Tutorials

Construct Auto Layout with the Interface Builder

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Animating Auto Layout Constraints

…been creating static constraints and learning how to structure your app’s UI using Auto Layout. But did you know that you can also animate your constraints? It’s true — and in this chapter, you’ll learn how to do it. With animations, you can: Give feedback to the users…
iOS & Swift

Chapter in Auto Layout by Tutorials

Self-Sizing Views

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Auto Layout for External Displays

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Introduction

Welcome to the amazing world of Auto Layout! While it may seem daunting at first, Auto Layout is an elegant solution to making your user interfaces flexible and adaptable without thousands of lines of code that are both difficult to understand and troublesome to maintain. This book will be your…
iOS & Swift

Chapter in Auto Layout by Tutorials

Content-Hugging & Compression-Resistance Priorities

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Designing Custom Controls

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Stack View

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Internationalization & Localization

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Scroll View

…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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Dynamic Type

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…
iOS & Swift

Chapter in Auto Layout by Tutorials

Conclusion

Throughout this book, you’ve learned the techniques you need to build awesome, adaptable, accessible and flexible user interfaces using Auto Layout. We encourage you to use these techniques in your own projects and hope this book provides a useful reference to Auto Layout
iOS & Swift

Chapter in Auto Layout by Tutorials

About the Cover

Auto Layout by Tutorials While the Marrus orthocanna looks as though it belongs to some other alien world, the jellyfish is found in the deep waters of the Arctic and other cold oceans. Though delicate, it is large — 1–2 meters — and translucent, blushing hints of color across the body…
iOS & Swift

Chapter in Auto Layout by Tutorials

Adaptive Layout

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…