Quote:
Originally Posted by AppStoreMod
What they say is
"If you keep adding objects on the main thread" then it will be all messed up.
|
Were they talking about multi-threaded development? If so, it's true that NSMutableArray is not thread safe, so you better (1) lock it before adding/removing, and while getting an object from an index. (2) retain objects that you get from the array/dict in case another thread removes them from the array. Apple has a tech note with more info.
Technical Note TN2059: Using collection classes safely with multithreaded applications
However, if you are not launching your own separate threads then there is nothing to worry about.