Instance Method

enable

Enables collection after collection has been disabled.

Declaration

- (void)enable;

Discussion

This method balances a single invocation of disable. To reenable collection, this method must be invoked as many times as was disable.

See Also

Collection State

disable

Temporarily disables collections.

Deprecated
isEnabled

Returns a Boolean value that indicates whether garbage collection is currently enabled for the current process.

Deprecated
isCollecting

Returns a Boolean value that indicates whether a collection is currently in progress.

Deprecated