• 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: Selector not working for me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selector not working for me


  • Subject: Re: Selector not working for me
  • From: Shawn Erickson <email@hidden>
  • Date: Sun, 1 May 2005 23:00:40 -0700


On May 1, 2005, at 5:55 AM, John James wrote:

    if ([Seltest respondsToSelector: @selector(test1:)]==YES)

I always get NO!
Shouldn't it be YES?

It will always be no since your Seltest class supports two messages one called "test1" and the other called "test2:". The ":" implies a message argument follows.

-Shawn

 _______________________________________________
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

References: 
 >Selector not working for me (From: John James <email@hidden>)

  • Prev by Date: auto completion feature in custom tableview
  • Next by Date: Re: Selector not working for me
  • Previous by thread: Selector not working for me
  • Next by thread: Re: Selector not working for me
  • Index(es):
    • Date
    • Thread