Enumeration Case

NSPointerFunctionsStrongMemory

Use strong write-barriers to backing store; use garbage-collected memory on copy-in.

Declaration

NSPointerFunctionsStrongMemory = (0UL << 0)

Discussion

This is the default memory value.

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

If you do not use garbage collection, and specify this value in conjunction with a valid non-object personality, it is the same as specifying NSPointerFunctionsMallocMemory.

See Also

Memory Options

NSPointerFunctionsMallocMemory

Use free() on removal, calloc() on copy in.

NSPointerFunctionsOpaqueMemory

Take no action when pointers are deleted.

NSPointerFunctionsWeakMemory

Uses weak read and write barriers appropriate for ARC or GC. Using NSPointerFunctionsWeakMemory object references will turn to NULL on last release.

NSPointerFunctionsZeroingWeakMemory

Use weak read and write barriers; use garbage-collected memory on copyIn.

Deprecated