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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -