StandardInputView
@IBDesignable
public class StandardInputView : UIView, UIGestureRecognizerDelegate
Standard Input View containing a label and an input field.
-
Label
Declaration
Swift
public let label: UILabel
-
Text Field
Declaration
Swift
public var textField: UITextField
-
Error label
Declaration
Swift
public let errorLabel: UILabel
-
Initializes and returns a newly allocated view object with the specified frame rectangle.
Declaration
Swift
override public init(frame: CGRect)
-
Returns an object initialized from data in a given unarchiver.
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Show an error message
Declaration
Swift
public func showError(message: String)
Parameters
message
Error message to show
-
Hide the error message
Declaration
Swift
public func hideError()