summaryrefslogtreecommitdiff
path: root/internals.h
blob: 62b46e267ed7e4e23bf06ce5c5ed46394da36de7 (plain)
1
2
3
4
5
6
7
8
9
10
- (NSMethodSignature *) methodSignatureForSelector:(SEL)selector {
    fprintf(stderr, "[%s]S-%s\n", class_getName(self->isa), sel_getName(selector));
    return [super methodSignatureForSelector:selector];
}

- (BOOL) respondsToSelector:(SEL)selector {
    BOOL responds = [super respondsToSelector:selector];
    fprintf(stderr, "[%s]R%c%s\n", class_getName(self->isa), (responds ? '+' : '-'), sel_getName(selector));
    return responds;
}