Type Method

defaultCollector

Returns the default garbage collector.

Declaration

+ (id)defaultCollector;

Return Value

The default garbage collector for the current process. Returns nil if the current process is not running with garbage collection.

Discussion

There is at most one garbage collector for Cocoa within a single process.