Enumeration Case

NSPointerFunctionsWeakMemory

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

Declaration

NSPointerFunctionsWeakMemory = (5UL << 0)

See Also

Memory Options

NSPointerFunctionsMallocMemory

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

NSPointerFunctionsOpaqueMemory

Take no action when pointers are deleted.

NSPointerFunctionsStrongMemory

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

NSPointerFunctionsZeroingWeakMemory

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

Deprecated