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: Evan Schoenberg <email@hidden>
- Date: Sun, 23 Jan 2005 15:56:06 -0600
While perhaps you could make this work, I'd recommend storing the
selector as an NSString using NSStringFromSelector() and then restoring
it from the string using NSSelectorFromString().
-Evan
On Jan 23, 2005, at 2:51 PM, Ken Tozier wrote:
Is the SEL datatype fixed in size?
I read the documentation here
"http://developer.apple.com/documentation/Cocoa/Reference/
ObjCRuntimeRef/ObjCRuntimeRef/datatype_group_1.html#//apple_ref/doc/
uid/20001426/BAJDFBFC" and here
"http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
LanguageOverview/chapter_3_section_6.html" but it doesn't seem to say
whether it's fixed in size or not.
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...?
Thanks
Ken
_______________________________________________
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
_______________________________________________
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