Instance Method

validateUserInterfaceItem(_:)

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

Required.

Declaration

func validateUserInterfaceItem(_ item: NSValidatedUserInterfaceItem) -> Bool

Parameters

anItem

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