In a word: NSOperationQueue
NSOperationQueue is thread safe (you can add operations from different threads to it without the need for locks) and allows you to combine NSOp objects together.
My Flickr iPhone app, Reflections, uses NSOperation and NSOperationQueue to control the loading of images and XML .
Warning. Make sure you read, reread, and understand what documents mean when they talk about "concurrency."
user102560 May 7 '09 at 12:58 a.m. 2009-05-07 00:58
source share