objc

Retain+Protocol.h
Go to the documentation of this file.
1 
4 #pragma once
5 
7 // PROTOCOL DEFINITIONS
8 
18 @protocol RetainProtocol
19 @required
26 - (id)retain;
27 
34 - (void)release;
35 
36 @end
id retain()
Increases the retain count of the receiver.
void release()
Decreases the retain count of the receiver.
Protocol for retaining and releasing objects.
struct objc_object * id
A pointer to an instance of a class.
Definition: runtime.h:18