Contents

validateUserInterfaceItem(_:)

Returns whether the receiver can handle the action method for a user interface item.

Declaration

func validateUserInterfaceItem(_ item: any NSValidatedUserInterfaceItem) -> Bool

Parameters

  • item:

    The user interface item to validate. You can send item the Action and Tag messages.

Return Value

true if the receiver can handle the action method; false if it cannot.