summaryrefslogtreecommitdiff
path: root/UICaboodle/Internals.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-12-04 07:17:49 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:09:00 +0000
commit22f8bed9669aee2b33cbc4da49eea3106e91c338 (patch)
tree6fee9ee08b04bf3d7a3f0997a97d49e8d861f4e7 /UICaboodle/Internals.h
parent03c0f7a9657ad201acfa37b0f94bc080014a4516 (diff)
Reorganized code and mostly finished ratings indicator.
Diffstat (limited to 'UICaboodle/Internals.h')
-rw-r--r--UICaboodle/Internals.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/UICaboodle/Internals.h b/UICaboodle/Internals.h
index a34c29f..62b46e2 100644
--- a/UICaboodle/Internals.h
+++ b/UICaboodle/Internals.h
@@ -4,6 +4,7 @@
}
- (BOOL) respondsToSelector:(SEL)selector {
- fprintf(stderr, "[%s]R-%s\n", class_getName(self->isa), sel_getName(selector));
- return [super respondsToSelector:selector];
+ BOOL responds = [super respondsToSelector:selector];
+ fprintf(stderr, "[%s]R%c%s\n", class_getName(self->isa), (responds ? '+' : '-'), sel_getName(selector));
+ return responds;
}