• 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: Couple of questions about the "SEL" datatype
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Couple of questions about the "SEL" datatype


  • Subject: Re: Couple of questions about the "SEL" datatype
  • From: PA <email@hidden>
  • Date: Sun, 23 Jan 2005 21:56:41 +0100


On Jan 23, 2005, at 21:51, Ken Tozier wrote:

Is the SEL datatype savable? Meaning could you get a method selector using @selector(methodName), save the result to disk, reread it into another SEL variable and run it with performSelector...?

Sure. Simply use NSStringFromSelector/NSSelectorFromString:

http://www.cocoadev.com/index.pl?NSStringFromSelector
http://www.cocoadev.com/index.pl?NSSelectorFromString

Cheers

--
PA
http://alt.textdrive.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Couple of questions about the "SEL" datatype (From: Ken Tozier <email@hidden>)

  • Prev by Date: Couple of questions about the "SEL" datatype
  • Next by Date: Re: Application without menu: How to get Cmd-C event?
  • Previous by thread: Couple of questions about the "SEL" datatype
  • Next by thread: Re: Couple of questions about the "SEL" datatype
  • Index(es):
    • Date
    • Thread