Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Wouldn't it be great to take advantage of multicore processors without having to manage threads? This concise book shows you how to use Apple's Grand Central Dispatch (GCD) to simplify programming for multiple cores on iOS devices and Mac OS X. 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.

Subscriber Reviews

Average Rating: 3.3333333333333335 out of 5 rating Based on 3 Ratings

"good introduction to queues within Objective-C" - by Michal Konrad Owsiak on 06-AUG-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is really short one. But don’t be fooled by it’s size. In fact it’s very comprehensive. One remark here – regarding title. It might be slightly misleading. Book is related to queue mechanics within Mac OS X and iOS rather than treads. But let’s take a look at the content. At the very beginning Vandad leads you through the, so called, Block Objects. They have really awkward syntax, but Vandad does a good job here and explains how to construct them. He uses analogy to C and Objective-C related constructs. He also introduces Grand Central Dispatch (GCD) that is a heart of queues. After basis are laid he goes to the topics related to queues and ways of utilizing them. Here, he presents examples that show how to develop parts of code that will utilize queues. This way, you can easily get in touch with the paradigm. Great advantage is that you can easily download source codes from the book page. They work with the XCode 4 out of the box.

This book, in my opinion, is addressed to experienced users. You will definitely require Objective-C knowledge, and basics of Mac OS X or iOS programming. However, if you are a beginner, simply write the tittle down and come back for it later, when you are ready to go. Or, maybe, when your application will require task based development.

Report as Inappropriate

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Concurrent Programming in Mac OS X and iOS

  • Catalog Page

Visit the errata page for Concurrent Programming in Mac OS X and iOS

  • Errata

Download the supplemental electronic content for Concurrent Programming in Mac OS X and iOS

  • Supplemental Content