How can I get an array of zeroing weak references under ARC? I don\'t want the array to retain the objects. And I\'d like the array elements either to remov
I just create non-threadsafe weak ref version of NSMutableDictionary and NSMutableSet. Code here: https://gist.github.com/4492283
For NSMutableArray, things is more complicated because it cannot contain nil and an object may be added to the array multiple times. But it is feasible to implemented one.