Re: None of an object's methods are being recognized.
Re: None of an object's methods are being recognized.
- Subject: Re: None of an object's methods are being recognized.
- From: Andy Lee <email@hidden>
- Date: Wed, 11 Feb 2004 11:38:21 -0500
On Feb 11, 2004, at 2:04 AM, Cory Knapp wrote:
My code compiles and run's just fine, but I get all these warnings
about possibly not responding any of the methods declared for it, even
NSObject's method's, like retain and release.
The only thing I'm doing differently here is declaring an enumeration
before the interface in the header file.
Is is possible you declared a class somewhere without a superclass? In
Objective-C, if you don't declare the superclass you get a new root
class, which does not inherit from NSObject. It's not like Java, where
you can leave out the superclass and Object is implied as the
superclass.
--Andy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.