objective c - Weakly retaining container class -
Objective-C contains a container square that will keep objects in it weakly, I know that NSARRA and NSSite them Will maintain the objects firmly but what is something that they can not be used by any other (and update accordingly)? Is there an inefficient version of this? I need this to keep track of some items, but I do not want to keep them.
et al. Do the job, you want NSPointerArray * PointerArere = [[NSPointerArray alloc] initWithOptions: NSPointerFunctionsWakMemory];
Comments
Post a Comment