Book description
The iOS 6 software development kit (SDK) has revolutionized view layout. Apple's layout features will make your life easier and your interfaces more consistent, regardless of device geometry and orientation. In this excerpt from The iOS Developer's Cookbook-Core Recipes for Programmers (Early Edition), bestselling author and developer Erica Sadun introduces code-level constraint development. You'll discover how to create relations between on-screen objects and specify the way iOS automatically arranges your views. The outcome is a set of robust rules that adapt to screen geometry.
This digital short is an adapted excerpt from The Core iOS 6 Developer's Cookbook (Early Edition), 4th Edition (ISBN 9780133361704). The content of this digital short may differ slightly from the content in the book. Purchasers of this digital short are invited to use coupon code sadunviewconst good for 30% off the list price of the book on InformIT exclusively.
Table of contents
- Title Page
- Copyright Page
- Table of Contents
- About the Author
- Reader Services
-
Introducing View Constraints: The Core iOS 6 Developer’s Cookbook
- What Are Constraints?
- Alignment Rectangles
- Constraint Attributes
- The Laws of Constraints
- Creating Constraints
- Format Strings
- Predicates
- Format String Summary
- Storing and Updating Constraints
- Recipe: Comparing Constraints
- Recipe: Describing Constraints
- Recipe: Creating Fixed-Size Constrained Views
- Recipe: Centering Views
- Recipe: Setting Aspect Ratio
- Aligning Views and Flexible Sizing
- Recipe: Responding to Orientation Changes
- Constraint Macros
- Debugging Your Constraints
- Summary
- Save On These Related Titles
Product information
- Title: Introducing View Constraints: The Core iOS 6 Developer’s Cookbook
- Author(s):
- Release date: September 2012
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133364422
You might also like
book
The iOS 5 Developer’s Cookbook: The Additional Recipes
This title contains the nine additional chapters that are also included in The iOS 5 Developer’s …
book
From Idea to App: Creating iOS UI, Animations, and Gestures
Because iPhone development is so young, right now apps are typically designed, developed and deployed by …
book
The iOS 4 Developer’s Cookbook: Core Concepts and Essential Recipes for iOS Programmers
Want to get started building applications for iPhone or iPad with Apple’s newest iOS 4 development …
book
Creating iOS 5 Apps: Develop and Design
With more than 250 million iOS devices sold Apple’s booming mobile platform provides a large and …