diff options
Diffstat (limited to 'UICaboodle/Internals.h')
-rw-r--r-- | UICaboodle/Internals.h | 5 |
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; } |