CFGetRetainCount(_:)
Returns the reference count of a Core Foundation object.
Declaration
func CFGetRetainCount(_ cf: CFTypeRef!) -> CFIndexParameters
- cf:
The CFType object to examine.
Return Value
A number representing the reference count of cf.
Discussion
You increment the reference count using the CFRetain function, and decrement the reference count using the CFRelease function.
This function may be useful for debugging memory leaks. You normally do not use this function, otherwise.