Where can I find the method signature for callback methods in built-in classes like UIGestureRecognizer or UIMenuItem etc?
e.g., documentation states for UIMenuItem:
initWithTitle:action:
Creates and returns a menu-item object initialized with the given title and action.-(id)initWithTitle:(NSString )title action:(SEL)action
Parameters
title
The title of the menu item.
action
A selector identifying the method of the responder object to invoke for handling the command represented by the menu item.
Return Value
An initialized UIMenuItem object, or nil if there was a problem creating the object.
How do I know what parameter 'action' may receive?