Enumeration Case

NSPointerFunctionsObjectPointerPersonality

Use shifted pointer for the hash value and direct comparison to determine equality; use the description method for a description.

Declaration

NSPointerFunctionsObjectPointerPersonality = (2UL << 8)

Discussion

As a special case, if you do not use garbage collection and specify this value in conjunction with NSPointerFunctionsStrongMemory then the NSPointerFunctions object uses retain and release.

See Also

Personality Options

NSPointerFunctionsCStringPersonality

Use a string hash and strcmp; C-string '%s' style description.

NSPointerFunctionsIntegerPersonality

Use unshifted value as hash and equality.

NSPointerFunctionsObjectPersonality

Use hash and isEqual methods for hashing and equality comparisons, use the description method for a description.

NSPointerFunctionsOpaquePersonality

Use shifted pointer for the hash value and direct comparison to determine equality.

NSPointerFunctionsStructPersonality

Use a memory hash and memcmp (using a size function that you must set—see sizeFunction).

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