What Is Retain Count?
What Is Retain Count? The retainCount is the number of ownership claims there are outstanding on the object. You take ownership of an object if you create it using a method whose name begins with “alloc” or “new” or contains “copy” (for example, alloc, newObject, or mutableCopy), or if you send it a retain message.