Example: I have such a selector that I pass to another method as a parameter:
SEL mySelector = @selector(doSomething:);
I would like to call this method doSomething inside this method.
Background: I have a method that performs some basic animation actions. It uses already didStopSelector, which calls a special memory management method when everything is done. But then, I want to be able to call a simple method that does not accept any special parameters, in order to do some things later. But this method is not responsible for calling the memory management method, so I need, for example, to run the selector, which I store in ivar.
source
share