Cocoa Question: How do I get a string representation of a SEL?
Posted
by dugla
on Stack Overflow
See other posts from Stack Overflow
or by dugla
Published on 2010-05-11T01:38:48Z
Indexed on
2010/05/11
1:44 UTC
Read the original article
Hit count: 209
Is it possible, given a SEL
to generate a string representation of the method it refers to?
For context:
I have an object instance initialized thusly:
-(id) initWithTarget:(id)object action: (SEL)action;
Within the instance I would like to echo the string name of the method referred to by SEL
. How do I do that?
© Stack Overflow or respective owner