NSMapTable Key Call Backs

Predefined sets of callbacks for NSMapTable keys.

Overview

In macOS 10.5 and later, see also the NSMapTable class.

Note that you can make your own callback by picking fields among the above callbacks.

Symbols

Constants

let NSIntegerMapKeyCallBacks: NSMapTableKeyCallBacks

For keys that are pointer-sized quantities or smaller (for example, int, long, or unichar).

let NSNonOwnedPointerOrNullMapKeyCallBacks: NSMapTableKeyCallBacks

For keys that are pointers not freed, or NULL.

let NSNonRetainedObjectMapKeyCallBacks: NSMapTableKeyCallBacks

For sets of objects, but without retaining/releasing.

let NSOwnedPointerMapKeyCallBacks: NSMapTableKeyCallBacks

For keys that are pointers, with transfer of ownership upon insertion.