I’m pretty new to multithreaded programming & cocoa.
I’m going to need a lock to access/modify a NSMutableArray iVar. What’s the simpliest way to do it ?
And while I’m here, do you guys have some reading about multithreaded programming with Obj-c/Cocoa ?
Thx.
Using the
@synchronizedblock:This block is not recognized by Xcode at times, but trust me, it works!
For more information, you can read this article.