Skip navigation.
 
mlCurious NSCopying error in subclass
FROM : Moray Taylor
DATE : Mon Nov 29 20:41:50 2004

Hi,

I am getting a confusing warning in one of my subclasses, the following
warning

class `NSObject' does not implement the `NSCopying' protocol

appears for the following bit of code

- (void) setObjectValue:(NSObject *) O {
    printf("setObjectValue:%p\n",O);
    [super setObjectValue:O]; //the warning flag is here
}

I'm not attempting to copy it, so why am I getting this warning?

Cheers

Moray

Related mailsAuthorDate
mlCurious NSCopying error in subclass Moray Taylor Nov 29, 20:41
mlRe: Curious NSCopying error in subclass Guy English Nov 29, 20:46
mlRe: Curious NSCopying error in subclass Moray Taylor Nov 29, 20:59