• 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
Help with runtime warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with runtime warning


  • Subject: Help with runtime warning
  • From: Robbie Haertel <email@hidden>
  • Date: Wed, 8 Dec 2004 17:09:53 -0700

I get the following runtime warning:

-[NSCFDictionary isKindOf:]: warning: Object compatibility method has
been executed at least once.  Convert source code off it NOW!

I think it is happening in the datasource to my outline view.  In all
of my datasource methods I check if item is a dictionary: if ([item
isKindOf:[NSDictionary class]]).  This obviously gets called hundreds
of times in my program, but I only get the error once (the error
message implies it will only occur once).

Does anyone no what this message means?  What are its implications?
What do I do to fix it (my datasource depends on the ability to detect
a dictionary and the code works perfectly fine despite the error
message)?

Thanks.
Robbie
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Help with runtime warning
      • From: Christian Brunschen <email@hidden>
  • Prev by Date: Re: Protocol implementation split between base and derived class
  • Next by Date: Re: Help with runtime warning
  • Previous by thread: NSTask launch of suid helper tool will not terminate...
  • Next by thread: Re: Help with runtime warning
  • Index(es):
    • Date
    • Thread