objc
include
Foundation
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
-[RetainProtocol-p retain]
id retain()
Increases the retain count of the receiver.
-[RetainProtocol-p release]
void release()
Decreases the retain count of the receiver.
RetainProtocol-p
Protocol for retaining and releasing objects.
Definition:
Retain+Protocol.h:18
id
struct objc_object * id
A pointer to an instance of a class.
Definition:
runtime.h:18