retain

Raises an exception.

Declaration

- (id)retain

Return Value

self.

Overview

In a reference-counted environment, this method raises an exception.

See Also

Managing a Pool

- release

Releases and pops the receiver.

- drain

In a reference-counted environment, releases and pops the receiver; in a garbage-collected environment, triggers garbage collection if the memory allocated since the last collection is greater than the current threshold.

- autorelease

Raises an exception.