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

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -