Table of Contents:
  • Layer EfficiencyLayers and Key-Value Coding; Chapter 4. Animation; Drawing, Animation, and Threading; Image View and Image Animation; View Animation; A Brief History of View Animation; Property Animator Basics; View Animation Basics; View Animation Configuration; Timing Curves; Canceling a View Animation; Frozen View Animation; Custom Animatable View Properties; Keyframe View Animation; Transitions; Implicit Layer Animation; Animation Transactions; Media Timing Functions; Core Animation; CABasicAnimation and Its Inheritance; Using a CABasicAnimation; Springing Animation; Keyframe Animation
  • UIImage DrawingCGImage Drawing; Snapshots; CIFilter and CIImage; Blur and Vibrancy Views; Drawing a UIView; Graphics Context Commands; Graphics Context Settings; Paths and Shapes; Clipping; Gradients; Colors and Patterns; Graphics Context Transforms; Shadows; Erasing; Points and Pixels; Content Mode; Chapter 3. Layers; View and Layer; Layers and Sublayers; Manipulating the Layer Hierarchy; Positioning a Sublayer; CAScrollLayer; Layout of Sublayers; Drawing in a Layer; Content Resizing and Positioning; Layers that Draw Themselves; Transforms; Depth; Shadows, Borders, and Masks
  • Making a Property AnimatableGrouped Animations; Freezing an Animation; Transitions; Animations List; Actions; What an Action Is; Action Search; Hooking Into the Action Search; Making a Custom Property Implicitly Animatable; Nonproperty Actions; Emitter Layers; CIFilter Transitions; UIKit Dycamics; The Dycamics Stack; Custom Behaviors; Animator and Behaviors; Motion Effects; Animation and Autolayout; Chapter 5. Touches; Touch Events and Views; Receiving Touches; Restricting Touches; Interpreting Touches; Gesture Recognizers; Gesture Recognizer Classes; Gesture Recognizer Conflicts
  • Cover; Copyright; Table of Contents; Preface; The Scope of This Book; Versions; Acknowledgments; From the Programming iOS 4 Preface; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Part I. Views; Chapter 1. Views; The Window; Experimenting with Views; Subview and Superview; Visibility and Opacity; Frame; Bounds and Center; Window Coordinates and Screen Coordinates; Transform; App Rotation; Trait Collections and Size Classes; Layout; Autoresizing; Autolayout; Constraints; Autoresizing Constraints; Creating Constraints in Code; Constraints as Objects
  • Guides and MarginsIntrinsic Content Size and Alignment Rects; Stack Views; Internationalization; Mistakes with Constraints; Configuring Layout in the Nib; Autoresizing in the Nib; Creating a Constraint; Viewing and Editing Constraints; Problems with Constraints; Varying the Screen Size; Conditional Interface Design; Nib Editor View Features; View Debugger; Previewing Your Interface; Designable Views and Inspectable Properties; Layout Events; Chapter 2. Drawing; Images and Image Views; Image Files; Image Views; Resizable Images; Transparency Masks; Reversible Images; Graphics Contexts