I have an NSString containing the name of a selector I would like to call with performSelector. How can I get a reference to the selector from the string?
That answer was too easy...
TahoeWolverine
2009-07-23 23:24:20
Easy like objective-c easy ...?
stefanB
2009-07-23 23:40:58
Yet, I was about a min off from being 1st... sigh.
Rev316
2009-07-24 01:10:18
+2
A:
Could use NSSelectorFromString.
Probably inefficient as parameterizing a SEL is preferred.
Rev316
2009-07-23 23:22:03