code review note
This commit is contained in:
parent
46933ff42d
commit
7316f8f6a7
|
|
@ -87,7 +87,7 @@ public extension BaseTextFieldViewModelEvents {
|
|||
return validationStateDriver
|
||||
}
|
||||
|
||||
typealias OnlineValidationClosure = (String) -> Single<OnlineValidationResult>
|
||||
typealias OnlineValidationClosure = (String) -> Single<OnlineValidateable>
|
||||
|
||||
/// Method that binds text driver to validation chain (offline validation -> online validation)
|
||||
/// and returns online validation state driver.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
import Foundation
|
||||
|
||||
/// Prototol with two fields that describes result of online validation.
|
||||
public protocol OnlineValidationResult {
|
||||
public protocol OnlineValidateable {
|
||||
|
||||
/// Contains true if online validation did passed.
|
||||
var isValid: Bool { get }
|
||||
|
|
|
|||
Loading…
Reference in New Issue