• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: None of an object's methods are being recognized.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >None of an object's methods are being recognized. (From: Cory Knapp <email@hidden>)

  • Prev by Date: Re-enabling Expose for certain windows
  • Next by Date: RE: HTML-encoded characters mucking up my NSStrings
  • Previous by thread: Re: None of an object's methods are being recognized.
  • Next by thread: Finding out if a view has rendered?
  • Index(es):
    • Date
    • Thread