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?
5 Answers
A simple, but complete example is Multithreading in Cocoa.
And a related Stack Overflow question is NSOperation on the iPhone.

- 1
- 1

- 178,213
- 47
- 333
- 501
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.

- 37,241
- 25
- 195
- 267

- 170,088
- 45
- 397
- 571
Don't forget the official documentation from Apple: Threading Programming Guide
You will find complete explanations and example code.
A good and short tutorial on NSInvocationOperation is Loading Images Asynchronously on iPhone using NSInvocationOperation.

- 30,738
- 21
- 105
- 131

- 5,348
- 4
- 25
- 27