Differences From Artifact [434aadda8c]:
- File
src/OFObject.m
— part of check-in
[67bb344ba6]
at
2009-06-30 12:07:21
on branch trunk
— A few renames in OFObject, see details.
* +[conformsTo:] to +[conformsToProtocol:].
* -[isKindOf:] to -[isKindOfClass:].
* -[respondsTo:] to -[respondsToSelector:].
* -[conformsTo:] to -[conformsToProtocol:].
* -[methodFor:] to -[methodForSelector:]. (user: js, size: 10576) [annotate] [blame] [check-ins using]
To Artifact [b8dec711ff]:
- File src/OFObject.m — part of check-in [5f47e81a9e] at 2009-06-30 14:15:12 on branch trunk — Add +[instancesRespondToSelector:] to OFObject. (user: js, size: 10786) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
92 93 94 95 96 97 98 99 100 101 102 103 104 105 | { #ifdef __objc_INCLUDE_GNU return class_get_class_name(self); #else return class_getName(self); #endif } + (BOOL)conformsToProtocol: (Protocol*)protocol { #ifdef __objc_INCLUDE_GNU Class c; struct objc_protocol_list *pl; size_t i; | > > > > > > > > > | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | { #ifdef __objc_INCLUDE_GNU return class_get_class_name(self); #else return class_getName(self); #endif } + (BOOL)instancesRespondToSelector: (SEL)selector { #ifdef __objc_INCLUDE_GNU return class_get_instance_method(self, selector) != METHOD_NULL; #else return class_respondsToSelector(self, selector); #endif } + (BOOL)conformsToProtocol: (Protocol*)protocol { #ifdef __objc_INCLUDE_GNU Class c; struct objc_protocol_list *pl; size_t i; |
︙ | ︙ |