- retain
Increments the receiver’s reference count.
- release
Decrements the receiver’s reference count.
- retainCount
Do not use this method.
- zone
Zones are deprecated and ignored by most classes that have it as a parameter.
Availability
Technology
- (instancetype)autorelease;
self
.
For more information about autorelease pool blocks, see Advanced Memory Management Programming Guide.
Instead of using manual reference counting, you should adopt ARC—see Transitioning to ARC Release Notes.
- retain
- release
- retainCount
- zone