summaryrefslogtreecommitdiff
path: root/CyteKit/UCInternal.h
blob: cb3ba15c8df8b779a6dea74d6895816d89a81400 (plain)
1
2
3
4
5
6
7
8
9
10
- (NSMethodSignature *) methodSignatureForSelector:(SEL)selector {
    fprintf(stderr, "[%s]S-%s\n", class_getName(object_getClass(self)), 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(object_getClass(self)), (responds ? '+' : '-'), sel_getName(selector));
    return responds;
}