1 option
IOS Auto Layout Demystified
- Format:
- Book
- Author/Creator:
- Sadun, Erica, Author.
- Series:
- Mobile programming series IOS auto layout demystified
- Language:
- English
- Subjects (All):
- iOS (Electronic resource).
- Operating systems (Computers)--Development.
- Operating systems (Computers).
- Application software.
- Physical Description:
- 1 online resource (1 v.) : ill.
- Edition:
- 2nd ed.
- Place of Publication:
- [Place of publication not identified] Addison Wesley Professional 2013
- Language Note:
- English
- System Details:
- text file
- Summary:
- Completed Updated for iOS 7 and Xcode 5 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 author Erica Sadun strips away the confusion, helping you gain Auto Layout mastery the easiest way possible: by example. Fully updated for iOS 7 and Xcode 5, this tutorial delivers everything Sadun’s guides are famous for: clear explanations, expert tips, proven best practices--and, above all, plenty of code to learn from and reuse. Step by step, Sadun explains how Auto Layout “thinks,” how it works, where it fits, and why it’s more useful (and simpler) than you ever imagined. She offers practical solutions for a wide variety of real-world iOS development challenges, plus innovative ways to use Auto Layout to build interactive elements, animations, and more. If you’re an experienced iOS developer, this guide will expand your design possibilities, helping you build apps that are superbly usable and intuitive and stand out even in the most crowded marketplace. Coverage includes Mastering Auto Layout’s basic concepts, techniques, and approach Defining unambiguous, satisfiable constraints that express your layout exactly how you intend Overcoming obstacles to constraint-based user interface design in Interface Builder Using visual formatting to express how items are laid out vertically and horizontally Making visual formats more flexible with metrics dictionaries and layout options Debugging constraints and deciphering those bewildering Xcode log messages Using descriptive techniques to uncover and express natural relationships in your design Applying iOS Auto Layout techniques in Mac OS X apps too
- Contents:
- Intro
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Table of Contents
- Preface
- How This Book Is Organized
- About the Sample Code
- Getting the Sample Code
- Getting Git
- Getting GitHub
- Contribute!
- Contacting the Author
- Editor's Note: We Want to Hear from You!
- Acknowledgments
- About the Author
- 1. Introducing Auto Layout
- Origins
- Saying "Yes" to Auto Layout
- Constraints
- Constraint Attributes
- About Those Missing Views
- Ambiguous Layout
- Intrinsic Content Size
- Compression Resistance and Content Hugging
- Image Embellishments
- Exercises
- Conclusions
- 2. Constraints
- Constraint Types
- Priorities
- Content Size Constraints
- Building Layout Constraints
- The Layout Constraint Class
- Creating Layout Constraints
- View Items
- Constraints, Hierarchies, and Bounds Systems
- Installing Constraints
- Comparing Constraints
- Laws of Layout Constraints
- 3. Interface Builder Layout
- Designing in IB
- Disabling Auto Layout
- Basic Layout and Auto-Generated Constraints
- A Guided Tour of IB Elements
- Adding Constraints
- Previewing Layouts
- Inspecting Constraints
- View Size Inspector
- The Resolution Menu
- Constraints/Resizing Pop-Up Menu
- The Missing Views Problem
- Balancing Requests
- Hybrid Layout
- Removing IB-Generated Constraints
- 4. Visual Formats
- Introducing Visual Format Constraints
- Options
- Variable Bindings
- Metrics
- Format String Structure
- Orientation
- View Names
- Connections
- View Sizes
- Format String Components
- Getting It Wrong
- NSLog and Visual Formats
- Constraining to a Superview
- View Stretching
- Constraining Size
- Building Rows or Columns
- Matching Sizes
- Why You Cannot Distribute Views
- Conclusions.
- 5. Debugging Constraints
- Xcode Feedback
- Reading Console Logs
- Examining Constraint Logs
- A Note About Layout Math
- Constraint Equation Strings
- Adding Names
- Describing Views
- Unexpected Padding Example
- The Hugged Image Example
- View Centering Example
- Descent Reports
- Ambiguity Example
- Expanding on Console Dumps Example
- Visualizing Constraints
- Launch Arguments
- Internationalization
- Profiling Cocoa Layout
- Auto Layout Rules of Debugging
- 6. Building with Auto Layout
- Basic Principles of Auto Layout
- Layout Libraries
- Planning Interfaces
- Building for Modularity
- Updating Constraints
- Designing for Edge Conditions
- Building a View Drawer
- Window Boundaries
- 7. Layout Solutions
- Table Cells
- Preserving Image Aspect
- Accordion Sizing
- Scroll Views
- Centering View Groups
- Custom Multipliers and Random Positions
- Building Grids
- Making Room for the Keyboard
- Inserting Views at Runtime
- Motion Effects, Dynamic Text, and Containers
- A. Answers to Exercises
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Index.
- Notes:
- Bibliographic Level Mode of Issuance: Monograph
- Description based on publisher supplied metadata and other sources.
- ISBN:
- 9780133750782
- 0133750787
- 9780133750775
- 0133750779
- 9780321967190
- 0321967194
- OCLC:
- 869836207
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.