about @selector
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.