NSExtraRefCount
Returns the specified object’s reference count.
Declaration
extern NSUInteger NSExtraRefCount(id object);Parameters
- object:
An object.
Return Value
The current reference count of object.
Discussion
This function is used in conjunction with NSIncrementExtraRefCount and NSDecrementExtraRefCountWasZero in situations where you need to override an object’s retain and release methods.
Special Considerations
This function is deprecated and unavailable for use with ARC.