Objective-C Garbage Collection

Interface with the legacy garbage collection system.

Topics

Legacy

NSGarbageCollector

A convenient interface to the garbage collection system.

Deprecated
NSAllocateCollectable

Allocates collectable memory.

NSReallocateCollectable

Reallocates collectable memory.

NSMakeCollectable

Makes a newly allocated Core Foundation object eligible for collection.

Memory Allocation Options

Constants used to control behavior when allocating or reallocating collectible memory.

See Also

Legacy

Distributed Objects Support

Enable communication among objects in different processes, both locally and on remote systems.

Java Support

Interact with the Java virtual machine.

NSZone

A type used to identify and manage memory zones.