0%

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

  1. Title Page
  2. Copyright Page
  3. Table of Contents
  4. About the Author
  5. Reader Services
  6. Introducing View Constraints: The Core iOS 6 Developer’s Cookbook
    1. What Are Constraints?
    2. Alignment Rectangles
    3. Constraint Attributes
    4. The Laws of Constraints
    5. Creating Constraints
    6. Format Strings
    7. Predicates
    8. Format String Summary
    9. Storing and Updating Constraints
    10. Recipe: Comparing Constraints
    11. Recipe: Describing Constraints
    12. Recipe: Creating Fixed-Size Constrained Views
    13. Recipe: Centering Views
    14. Recipe: Setting Aspect Ratio
    15. Aligning Views and Flexible Sizing
    16. Recipe: Responding to Orientation Changes
    17. Constraint Macros
    18. Debugging Your Constraints
    19. Summary
    20. Save On These Related Titles
13.59.79.176