• 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
"current" selector as string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"current" selector as string


  • Subject: "current" selector as string
  • From: Michael Monscheuer <email@hidden>
  • Date: Thu, 24 Jul 2003 12:28:18 +0200

What I do:
I'm working on an error tracker.

My Question is:
how to find out the SEL of the current method during runtime.

Some description:
It is no problem to find out the current line and file (by preprocessors' __LINE__ and __FILE__) and the current class (by NSStringFromClass([self class]).
But now I want to find out the name of the method the error occured in
by using its SEL. So what I'd need is some kind of function to find out the current SEL....

Any Idea?

MiMo
--
=======================================================
And refashioning the fashioned
lest it stiffen into iron
is work of endless vital activity.
[Goethe]

mailto:email@hidden
mailto:email@hidden

All about CALAMUS DTP suite:
http://www.calamus.net

=======================================================
_______________________________________________
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: "current" selector as string
      • From: Fritz Anderson <email@hidden>
    • Re: "current" selector as string
      • From: "Thomas Deniau" <email@hidden>
  • Prev by Date: Re: Design for Cocoa (was Re: Can a subclass of NSDictionary do this?)
  • Next by Date: Re: Dockless app?
  • Previous by thread: Call up a dialog box in Cocoa environment from a Carbon bundle
  • Next by thread: Re: "current" selector as string
  • Index(es):
    • Date
    • Thread