• 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
getting a selector for string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getting a selector for string


  • Subject: getting a selector for string
  • From: Ken Tozier <email@hidden>
  • Date: Tue, 4 Feb 2003 03:32:30 -0500

I could have sworn that I saw some way to get a selector for a given a string that defines a method name, but I can seem to find it now.

For example:

NSString *methodName = @"goToBedItsLate";

SEL methodSelector = SomeUnknownFunction( methodName );

Is there any way to do this?

Thanks,

Ken
_______________________________________________
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: getting a selector for string
      • From: Angela Brett <email@hidden>
    • Re: getting a selector for string
      • From: Bryan Blackburn <email@hidden>
  • Prev by Date: Re: From header and NSMailDelivery (was Re: Sending Email with Attachments)
  • Next by Date: Re: getting a selector for string
  • Previous by thread: Re: From header and NSMailDelivery (was Re: Sending Email with Attachments)
  • Next by thread: Re: getting a selector for string
  • Index(es):
    • Date
    • Thread