I have a class method (+) that takes an argument of type NSString
. What I want to do with that class method is to return information from another class method, there are many different class methods that return different things, I don't want to use a switch or if-statement
but something like this:
return [self "ClassMethodName"];
I know how to do it with a @selector()
but it seems like I cant use it in a class method. Is there another way to do what I want?