Adds a given object to the receiver
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The object to add to the receiver.
The same object may be added several times to the same pool; when the pool is deallocated, the object will receive a
release message for each time it was added.
Normally you don’t invoke this method directly—you send
Adding an Object to a Pool
Adds a given object to the active autorelease pool in the current thread.