]>
Commit | Line | Data |
---|---|---|
ab398adf | 1 | - (NSMethodSignature *) methodSignatureForSelector:(SEL)selector { |
c66799b9 | 2 | fprintf(stderr, "[%s]S-%s\n", class_getName(object_getClass(self)), sel_getName(selector)); |
ab398adf JF |
3 | return [super methodSignatureForSelector:selector]; |
4 | } | |
5 | ||
6 | - (BOOL) respondsToSelector:(SEL)selector { | |
22f8bed9 | 7 | BOOL responds = [super respondsToSelector:selector]; |
c66799b9 | 8 | fprintf(stderr, "[%s]R%c%s\n", class_getName(object_getClass(self)), (responds ? '+' : '-'), sel_getName(selector)); |
22f8bed9 | 9 | return responds; |
ab398adf | 10 | } |