Where can I find a good tutorial on iPhone/Objective-C multithreading?

27,323

Solution 1

A simple, but complete example is Multithreading in Cocoa.

And a related Stack Overflow question is NSOperation on the iPhone.

Solution 2

Once again, if I may promote my iPhone development course, I had a class devoted to multithreading last semester, covering basic threading, locking, dealing with the UI on the main thread, and NSOperationQueues, for which the class notes can be found here. This fall semester that same class will be dominated by Grand Central Dispatch.

The video for the class can be downloaded for free from iTunes U.

Solution 3

Don't forget the official documentation from Apple: Threading Programming Guide

You will find complete explanations and example code.

Share:
27,323
nevan king
Author by

nevan king

Mostly questions and answers about iOS & maps

Updated on June 09, 2020

Comments

  • nevan king
    nevan king almost 4 years

    I'm just starting to use multithreading and was looking for a good explanation. I'm not sure if there are differences in how multithreading works on Macs and iPhones. What is a good link to tutorials with example code?