Type Method

weakObjects()

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

Declaration

class func weakObjects() -> NSHashTable<ObjectType>

Return Value

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

See Also

Convenience Constructors

init(options: NSPointerFunctions.Options)

Returns a hash table with given pointer functions options.