Dispatch Queues

Last week's article discussed the problem with threads. But since threads are simply a fact of life with our current development tools, how can we reduce risk and complexity? Apple's solution: general purpose dispatch queues. In Apple's own words: Dispatch queues let you execute arbitrary blocks of code either asynchronously or synchronously with respect to …