Skip to content

Commit d8bcf0f

Browse files
committed
made the form validation delegate public
1 parent 020632a commit d8bcf0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

iOSFormUtils/FormInput.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class FormInput: UITextField {
3232
public var formInputDelegate: FormInputDelegate!
3333
private var inputAccessory: UIView!
3434
private var validationHandler: ValidatedFormInput!
35-
var validationDelegate: ValidatedFormInputDelegate!
35+
public var validationDelegate: ValidatedFormInputDelegate!
3636
public var validationDataSource: ValidatedFormInputDataSource!
3737

3838
// MARK: Superclass overrides

iOSFormUtils/ValidatedFormInput.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public protocol ValidatedFormInput {
3434
}
3535

3636
/// Delegate protocol for validated form
37-
protocol ValidatedFormInputDelegate {
37+
public protocol ValidatedFormInputDelegate {
3838
/**
3939
To update the input displaying for error mode.
4040

0 commit comments

Comments
 (0)