Instance Method

minus(_:)

Removes each element in another given hash table from the receiving hash table, if present.

Declaration

func minus(_ other: NSHashTable<ObjectType>)

Parameters

other

The hash table of elements to remove from the receiving hash table.

Discussion

The equality test used for members depends on the personality option selected. For instance, choosing the objectPersonality option will use isEqual: to determine equality. See NSPointerFunctions.Options for more information on personality options and their corresponding equality tests.

See Also

Set Functions

func union(NSHashTable<ObjectType>)

Adds each element in another given hash table to the receiving hash table, if not present.