Initializer

init(options:capacity:)

Returns a hash table initialized with the given attributes.

Declaration

init(options: NSPointerFunctions.Options = [], capacity initialCapacity: Int)

Parameters

options

A bit field that specifies the options for the elements in the hash table. For possible values, see NSHashTableOptions.

capacity

The initial number of elements the hash table can hold.

Return Value

A hash table initialized with options specified by options and initial capacity of capacity.

See Also

Initialization

init(pointerFunctions: NSPointerFunctions, capacity: Int)

Returns a hash table initialized with the given functions and capacity.