|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Fri, 30 Jul 2004 16:22:02 -0400, Jim Correia <email@hidden> wrote:In case my question wasn't clear...
@interface Foo : NSView
should [fooInstance isKindOfClass: [NSView class]] return NO after the
posing?
It appears to my sample code.
If the order of events is..
foo = [[NSView alloc] init];
[[MyImposter class] poseAsClass:[NSView class]];
then you will get NO for
[foo isKindOfClass:[NSView class]];
After the posing, [NSView class] returns what you think of as
MyImposter. So looking at Greg's diagram, is foo a kind of 'NSView'?
No.
| References: | |
| >Re: What does it mean when po puts % before class name? (From: Greg Parker <email@hidden>) | |
| >Re: What does it mean when po puts % before class name? (From: Jim Correia <email@hidden>) | |
| >Re: What does it mean when po puts % before class name? (From: Jim Correia <email@hidden>) | |
| >Re: What does it mean when po puts % before class name? (From: Ken Ferry <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.