Instance Method

collectIfNeeded

Tells the receiver to collect if memory consumption thresholds have been exceeded.

Declaration

- (void)collectIfNeeded;

Discussion

You use this method to indicate to the collector that there is an opportunity to perform a collection. Collection is subject to interruption on user input.

See Also

Triggering Collection

collectExhaustively

Tells the receiver to collect iteratively.

Deprecated