Protocol for retaining and releasing objects. More...
#import <Foundation/Foundation.h>
Instance Methods | |
(id) | - retain |
Increases the retain count of the receiver. More... | |
(void) | - release |
Decreases the retain count of the receiver. More... | |
Protocol for retaining and releasing objects.
The RetainProtocol defines the minimal interface that objects must implement to provide retain and release functionality.
Definition at line 18 of file Retain+Protocol.h.
|
required |
Decreases the retain count of the receiver.
Sending a release message to an object decreases its retain count by one. If the retain count becomes zero, the object is deallocated.
Reimplemented in NXObject.
|
required |
Increases the retain count of the receiver.
Sending a retain message to an object increases its retain count by one.
Reimplemented in NXObject.