Cocoa Question: How do I get a string representation of a SEL?
- by dugla
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?