NSCopying is a protocol, likewise NSCoding. Have you declared that your class implements the protocol in the header file, for example:
@interface MySuperClass : NSObject <NSCopying, NSCoding> { ... } ... @end ~Phil On Jul 21, 2011, at 10:51 AM, Chris Tracewell wrote: > I have a private framework that is included in a project. Many of the project > classes descend from a class in the framework. All of these descendent > classes implement copyWithZone, encodeWithCoder and initWithCoder and thus > respectively calls each on super. I get warnings stating that "MySuperClass > may not respond to -copyWithZone" and so on. I do declare each of these > methods in super's header file, so why might these errors be getting > triggered? > > Thanks > > > --Chris_______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/dev%40getsprouted.com > > This email sent to d...@getsprouted.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com