• 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: 'Class' may not respond to +isKindOfClass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'Class' may not respond to +isKindOfClass


  • Subject: Re: 'Class' may not respond to +isKindOfClass
  • From: Kevin Ballard <email@hidden>
  • Date: Thu, 15 Apr 2004 06:06:23 -0400

That's because there is no class method +isKindOfClass:. I'm not sure
if there's a class equivalent you could use, somebody else probably
knows better than I. And the reason why you don't get the warning after
closing and reopening (which isn't necessary) is because when you
re-build without modifying the file, it doesn't re-compile the file and
thus doesn't re-show the warning. If you simply build twice in a row
you'll see this. If you do a clean or you modify the file at all,
re-building will show the warning again.

On Apr 15, 2004, at 5:25 AM, Larry Fransson wrote:

> Can anyone tell me why the following would generate the subject
> warning?
>
> [paneClass isKindOfClass:[NSObject class]
>
> In this case, paneClass comes either from NSClassFromString() or a
> bundle's principal class. I can't find a "+isKindOfClass:" anywhere.
> I can find "-isKindOfClass:", though. Also odd is that if I close the
> project after receiving the warning, reopen it and then build, the
> warning no longer appears.

--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: 
 >'Class' may not respond to +isKindOfClass (From: Larry Fransson <email@hidden>)

  • Prev by Date: 'Class' may not respond to +isKindOfClass
  • Next by Date: Re: 'Class' may not respond to +isKindOfClass
  • Previous by thread: 'Class' may not respond to +isKindOfClass
  • Next by thread: Re: 'Class' may not respond to +isKindOfClass
  • Index(es):
    • Date
    • Thread