selector(forCommand:)
Returns the selector associated with the receiver for the specified command description.
Declaration
func selector(forCommand commandDescription: NSScriptCommandDescription) -> Selector?Parameters
- commandDescription:
A description for a script command, such as
duplicate,make, ormove. Encapsulates the scriptability information for that command, such as its Objective-C selector, its argument names and types, and its return type (if any).
Return Value
The selector from the receiver for the command specified by commandDescription. Searches in the receiver first, then in any superclass. Returns NULL if no matching selector is found.