Instance Method インスタンスメソッド

autorelease

Decrements the receiver’s retain count at the end of the current autorelease pool block.

Declaration 宣言

- (instancetype)autorelease;

Return Value 戻り値

self.

Discussion 解説

For more information about autorelease pool blocks, see Advanced Memory Management Programming Guide.

Special Considerations 特別な注意事項

Instead of using manual reference counting, you should adopt ARC—see Transitioning to ARC Release Notes.

See Also 参照

Obsolete Methods