diff options
Diffstat (limited to 'CyteKit/UCInternal.h')
-rw-r--r-- | CyteKit/UCInternal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CyteKit/UCInternal.h b/CyteKit/UCInternal.h index 62b46e2..cb3ba15 100644 --- a/CyteKit/UCInternal.h +++ b/CyteKit/UCInternal.h @@ -1,10 +1,10 @@ - (NSMethodSignature *) methodSignatureForSelector:(SEL)selector { - fprintf(stderr, "[%s]S-%s\n", class_getName(self->isa), sel_getName(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(self->isa), (responds ? '+' : '-'), sel_getName(selector)); + fprintf(stderr, "[%s]R%c%s\n", class_getName(object_getClass(self)), (responds ? '+' : '-'), sel_getName(selector)); return responds; } |