diff options
Diffstat (limited to 'CyteKit/UCInternal.h')
-rw-r--r-- | CyteKit/UCInternal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CyteKit/UCInternal.h b/CyteKit/UCInternal.h new file mode 100644 index 0000000..62b46e2 --- /dev/null +++ b/CyteKit/UCInternal.h @@ -0,0 +1,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; +} |