Instance Method

validation(for:)

No overview available.

Declaration

func validation(for command: UICommand) -> UICommandValidation

See Also

Building and Validating Commands

func buildCommands(with: UICommandBuilder)

Asks the receiving responder to add and remove items from a command system.

Deprecated
func validate(UICommand)

Asks the receiving responder to validate the command.

Beta
func canPerformAction(Selector, withSender: Any?) -> Bool

Requests the receiving responder to enable or disable the specified command in the user interface.

func target(forAction: Selector, withSender: Any?) -> Any?

Returns the target object that responds to an action.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software