-
Creates an empty
Form
.Declaration
Swift
init()
-
init(validatables:)
Default implementationCreates a
Form
where eachValidatable
uses its ownValidator
for validation.Default Implementation
Declaration
Swift
init(validatables: [ValidatorControl])
Parameters
validatables
Array of
Validatable
. -
init(validatables:validators:)
Default implementationCreates a
Form
where eachValidatable
uses a customValidator
for validation. Ifvalidatables
andvalidators
have a different number of elements then returnsnil
.Default Implementation
Declaration
Swift
init?(validatables: [ValidatorControl], validators: [Validator])
Parameters
validatables
Array of
Validatable
.validators
Array of
Validator
.
-
addEntry(_:)
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
mutating func addEntry(_ control: ValidatorControl)
-
removeControlAtIndex(_:)
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
mutating func removeControlAtIndex(_ index: Int) -> ValidatorControl?
-
checkConditions()
Default implementation