• 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: Daniel DeCovnick <email@hidden>
  • Date: Mon, 2 May 2005 02:01:45 -0400


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

I am probably doing some stupid newbie thing; please help.

i have a simple test case to try the selector feature. given the following  class definition and implementation:
<SNIP>
Elsewhere At runtime I try the following

    if ([Seltest respondsToSelector: @selector(test1:)]==YES)
        NSLog(@"YES");
    else
        NSLog(@"NO");

I always get NO!
Shouldn't it be YES?
Thanks for your help

@selector(test1:) is not present. @selector(test1) is, however (the colon is significant).

-Dan


Daniel DeCovnick

danhd123 at mac dot com

Softyards Software

http://www.softyards.com


 _______________________________________________
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: Re: Selector not working for me
  • Next by Date: Re: Selector not working for me
  • Previous by thread: Re: Selector not working for me
  • Next by thread: Re: Selector not working for me
  • Index(es):
    • Date
    • Thread