objc
include
runtime-gcc
objc
Object+Protocol.h
Go to the documentation of this file.
1
4
#pragma once
5
7
// PROTOCOL DEFINITIONS
8
17
@protocol
ObjectProtocol
18
@required
23
+ (const
char
*)
name
;
24
33
- (
BOOL
)isEqual:(
id
)anObject;
34
42
- (
BOOL
)isKindOfClass:(
Class
)cls;
43
50
- (
BOOL
)conformsTo:(
Protocol
*)aProtocolObject;
51
57
- (
BOOL
)respondsToSelector:(
SEL
)aSelector;
58
59
@end
ObjectProtocol-p
Protocol for objects.
Definition:
Object+Protocol.h:17
BOOL
bool BOOL
A Boolean value.
Definition:
runtime.h:60
Class
struct objc_class * Class
A pointer to a class definition.
Definition:
runtime.h:28
+[ObjectProtocol-p name]
const char * name()
Returns the name of the class.
Protocol
Protocol class definition.
Definition:
Protocol.h:15