Type Method


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


+ (NSHashTable<ObjectType> *)weakObjectsHashTable;

Return Value

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

See Also

Convenience Constructors

+ hashTableWithOptions:

Returns a hash table with given pointer functions options.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software