Book description
Jazz up your iPhone and iPad apps with some slick graphics and animation—and keep users from looking elsewhere. This short and concise book shows developers with even little Cocoa programming experience how to create impressive graphics and animation effects with relatively easy coding. Learn how to incorporate smooth animations and draw images in your apps to achieve the classy look you want.
The recipes in this book include step-by-step instructions and simple code solutions that you can put to work right away.
- Learn basic concepts for adapting to different screen sizes
- Construct, set, and use colors
- Draw text, images, lines, and rectangles
- Add shadows to shapes
- Create and draw gradients
- Learn how to animate and scale, rotate, or move views
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
-
1. Graphics and Animations
- Basic Concepts for Adapting to Different Screen Sizes
- Creating the Project Structure in Xcode
- Enumerating and Loading Fonts
- Drawing Text
- Constructing, Setting, and Using Colors
- Drawing Images
- Drawing Lines
- Constructing Paths
- Drawing Rectangles
- Adding Shadows to Shapes
- Creating and Drawing Gradients
- Displacing Shapes on Graphic Contexts
- Scaling Shapes Drawn on Graphic Contexts
- Rotating Shapes Drawn on Graphic Contexts
- Animating and Moving Views
- Animating and Scaling Views
- Animating and Rotating Views
- About the Author
- Copyright
Product information
- Title: Graphics and Animation on iOS
- Author(s):
- Release date: April 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449305673
You might also like
book
iOS Core Animation: Advanced Techniques
Core Animation is the technology underlying Apple’s iOS user interface. By unleashing the full power of …
book
Beginning Swift Games Development for iOS: Develop 2D and 3D games Using Apple's SceneKit and SpriteKit
Learn the fundamental elements of the new Swift 3 programming language as applied to game development …
book
Core Animation: Simplified Animation Techniques for Mac® and iPhone® Development
Apple’s Core Animation framework enables Mac OS X, iPhone, and iPod touch developers to create richer, …
book
Beginning iOS Game Development
Get in the game and start building games for the iPhone or iPad! Whether you only …