Re: Current Selector
Re: Current Selector
- Subject: Re: Current Selector
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 6 Jan 2003 14:58:10 -0800
On Monday, January 6, 2003, at 02:35 PM, Ted Lowery wrote:
Is there a way, programmatically, to get the name of the current
selector (method) that is executing?
NSStringFromSelector(_cmd);
every method gets two implicit arguments, self and _cmd.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.