Instance Method

validate()

This method is called by the receiver’s toolbar during validation.

Declaration

func validate()

Discussion

You may invoke this method directly if you have disabled automatic validation for an item—typically you do this for performance reasons if your validation code is slow. For further discussion, see Validating Toolbar Items.

See Also

Validation

var autovalidates: Bool

A Boolean value that indicates whether the receiver is automatically validated by the toolbar.