objc
include
runtime-gcc
objc
Protocol.h
Go to the documentation of this file.
1
8
#pragma once
9
15
@interface
Protocol
:
Object
{
16
@private
17
const
char
*_name;
18
}
19
24
- (
const
char
*)
name
;
25
37
- (
BOOL
)conformsTo:(
Protocol
*)aProtocolObject;
38
39
@end
-[Protocol name]
const char * name()
Returns the name of the protocol.
BOOL
bool BOOL
A Boolean value.
Definition:
runtime.h:60
Object
The root class of all Objective-C classes.
Definition:
Object.h:18
Protocol
Protocol class definition.
Definition:
Protocol.h:15