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
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 mails | Author | Date |
|---|---|---|
| Moray Taylor | Nov 29, 20:41 | |
| Guy English | Nov 29, 20:46 | |
| Moray Taylor | Nov 29, 20:59 |






Cocoa mail archive

