Contents

validateUserInterfaceItem(_:)

Returns a Boolean value that indicates whether the sender should be enabled.

Declaration

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

Parameters

  • item:

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

Return Value

true if the user interface item should be enabled, otherwise false.

See Also

Related Documentation

  • User Interface Validation