• 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
about @selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

about @selector


  • Subject: about @selector
  • From: Antonio Inojal <email@hidden>
  • Date: Thu, 09 May 2002 18:24:25 -0400

While looking at the example code "SonOfSillyBalls" from Apple, I encountered a line which I didn't know what the heck it meant. The line was : selector:@selector(drawAnother:)

Now the first word "selector" is not what I am worried about. Since this is one of the parameters being sent to a method, the first word is only an indicator. but the @selector(drawAnother:), I don't understand. There is a method named "drawAnother", that's where that word comes from. But what does @selector(drawAnother:) do? In specific what is the @selector used for? I appreaciate your time in reading this mesage very much. Thank You.
Tony
_______________________________________________
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.
  • Follow-Ups:
    • Re: about @selector
      • From: nicolas berloquin <email@hidden>
    • Re: about @selector
      • From: Andy Lee <email@hidden>
    • Re: about @selector
      • From: email@hidden
    • Re: about @selector
      • From: Piers Uso Walter <email@hidden>
  • Prev by Date: Re: Hiding superclass methods
  • Next by Date: Re: about @selector
  • Previous by thread: Re: Hiding superclass methods
  • Next by thread: Re: about @selector
  • Index(es):
    • Date
    • Thread