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
const char * name()
Returns the name of the protocol.
bool BOOL
A Boolean value.
Definition: runtime.h:60
The root class of all Objective-C classes.
Definition: Object.h:18
Protocol class definition.
Definition: Protocol.h:15