summaryrefslogtreecommitdiff
path: root/UICaboodle/UCInternal.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-06-17 06:42:06 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:15 +0000
commit11cd030858934f62f5e91b0bff5924f8fa098f90 (patch)
treedce7be141e4bbb59c5d1bfed671262694b086e87 /UICaboodle/UCInternal.h
parent43f3d7f667a56659b4ac4b2e8171fbf8b7cc3c94 (diff)
20 minutes of typing.
Diffstat (limited to 'UICaboodle/UCInternal.h')
-rw-r--r--UICaboodle/UCInternal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/UICaboodle/UCInternal.h b/UICaboodle/UCInternal.h
new file mode 100644
index 0000000..62b46e2
--- /dev/null
+++ b/UICaboodle/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;
+}