- 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
Entirely rewritten for Apple's Swift programming language, this updated cookbook helps you overcome the vexing issues you're likely to face when creating apps for iOS devices.You'll find hundreds of new and revised recipes for using the iOS 8 SDK, including techniques for working with Health data and HomeKit accessories, enhancing and animating graphics, storing and protecting data, sending and receiving notifications, and managing files and folders among them. Each recipe includes sample code on GitHub that you can use right away.Use CloudKit APIs to store information in the cloud with easeCreate custom keyboards and extensionsAccess users' health-related information with HealthKitInteract with accessories inside the user's home with HomeKitCreate vibrant and lifelike user interfaces with UIKit DynamicsUse the Keychain to protect your app's dataDevelop location-aware and multitasking-aware appsWork with iOS 8's audio and video APIsUse Event Kit UI to manage calendars, dates, and eventsTake advantage of the accelerometer and the gyroscopeGet working examples for implementing gesture recognizersRetrieve and manipulate contacts and groups from the Address BookDetermine a camera's availability and access the Photo Library
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
Select your format based upon: 1) how you want to read your book, and 2) compatibility with your reading tool. To learn more about using Bookshare with your device, visit the Help Center.
Here is an overview of the specialized formats that Bookshare offers its members with links that go to the Help Center for more information.
- Bookshare Web Reader - a customized reading tool for Bookshare members offering all the features of DAISY with a single click of the "Read Now" link.
- DAISY (Digital Accessible Information System) - a digital book file format. DAISY books from Bookshare are DAISY 3.0 text files that work with just about every type of access technology that reads text. Books that contain images will have the download option of ‘DAISY Text with Images’.
- BRF (Braille Refreshable Format) - digital Braille for use with refreshable Braille devices and Braille embossers.
- MP3 (Mpeg audio layer 3) - Provides audio only with no text. These books are created with a text-to-speech engine and spoken by Kendra, a high quality synthetic voice from Ivona. Any device that supports MP3 playback is compatible.
- DAISY Audio - Similar to the Daisy 3.0 option above; however, this option uses MP3 files created with our text-to-speech engine that utilizes Ivonas Kendra voice. This format will work with Daisy Audio compatible players such as Victor Reader Stream and Read2Go.