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
Creating iOS 5 Apps: Develop and Design
With more than 250 million iOS devices sold Apple’s booming mobile platform provides a large and …
book
Creating Android Applications: Develop and Design
Capturing more than half of the global smartphone market, Google’s Android mobile platform offers a vibrant …
book
iOS Auto Layout Demystified
Auto Layout re-imagines the way developers create user interfaces. It provides a flexible and powerful system …
book
iPad and iPhone Tips and Tricks: (covers iOS7 for iPad Air, iPad 3rd/4th generation, iPad 2, and iPad mini, iPhone 5S, 5/5C & 4/4S)
iPad® and iPhone® Tips and Tricks Covers iPad Air, iPad 3rd/4th generation, iPad 2, iPad mini, …