Last active
October 26, 2020 16:27
-
-
Save bill350/22263978f489a1015c36248340713ecc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Conform receiver to have data validation behavior | |
protocol FormValidable { | |
var isValid: Bool {get set} | |
var isMandatory: Bool {get set} | |
func checkValidity() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment