• 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: Current Selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Current Selector (From: Ted Lowery <email@hidden>)

  • Prev by Date: Re: Current Selector
  • Next by Date: Re: Quickly drawing non-antialiased, discrete, pixels
  • Previous by thread: Re: Current Selector
  • Next by thread: Re: Current Selector
  • Index(es):
    • Date
    • Thread