Re: Couple of questions about the "SEL" datatype
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