Type Method

hashTableWithWeakObjects

Returns a new hash table for storing weak references to its contents.

Declaration

+ (id)hashTableWithWeakObjects;

Return Value

A new has table that uses the options NSHashTableZeroingWeakMemory and NSPointerFunctionsObjectPersonality and has an initial capacity of 0.

Discussion

This method is not supported under Automatic Reference Counting (ARC).