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