- Table View
- List View
Now that multicore processors are coming to mobile devices, wouldn't it be great to take advantage of all those cores without having to manage threads? This concise book shows you how to use Apple's Grand Central Dispatch (GCD) to simplify programming on multicore iOS devices and Mac OS X. Managing your application's resources on more than one core isn't easy, but it's vital. Apps that use only one core in a multicore environment will slow to a crawl. If you know how to program with Cocoa or Cocoa Touch, this guide will get you started with GCD right away, with many examples to help you write high-performing multithreaded apps. Package your code as block objects and invoke them with GCD Understand dispatch queues--the pools of threads managed by GCD Use different methods for executing UI and non-UI tasks Create a group of tasks that GCD can run all at once Instruct GCD to execute tasks only once or after a delay Discover how to construct your own dispatch queues
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
Now you can overcome the vexing, real-life issues you confront when creating apps for the iPhone, iPad, or iPod Touch. By making use of more than 100 new recipes in this updated cookbook, you'll quickly learn the steps necessary for writing complete iOS apps, whether they're as simple as a music player or feature a complex mix of animations, graphics, multimedia, a database, and iCloud storage. If you're comfortable with iOS SDK, this cookbook will teach you how to use hundreds of iOS techniques. Each recipe provides a clear solution with sample code that you can use right away. Use different approaches to construct a user interface Develop location-aware apps Get working examples for implementing gesture recognizers Play audio and video files and access the iPod library Retrieve contacts and groups from the Address Book Determine camera availability and access the Photo Library Create multitasking-aware apps Maintain persistent storage in your apps Use Event Kit to manage calendars and events Learn capabilities of the Core Graphics framework Access the accelerometer and gyroscope Take advantage of the iCloud service
Now that Apple has introduced the GameKit framework to its iOS SDK, you can integrate Game Center features directly into your iPhone and iPad apps. This concise cookbook shows you how it's done, with 18 targeted recipes for adding leaderboards, user authentication, achievements, multiplayer games, and many other features. How do you display players' scores and achievements? How do you create Game Center accounts and add friends? Each recipe in this book includes a simple code solution you can put to work immediately, along with a detailed discussion that offers insight into why and how the recipe works. Recipes include techniques to: Set up Game Center for an iOS App Use block objects and Grand Central Dispatch to write Game Center apps Authenticate a local player in Game Center Use iTunes Connect to create leaderboards and achievements Retrieve leaderboard and achievement information programmatically Handle players' state changes in multiplayer games
- Embossed Braille - Use Bookshare’s DAISY Text or BRF formats to generate embossed braille.