PhoneNumberInputView
@IBDesignable
public class PhoneNumberInputView : StandardInputView, UITextFieldDelegate
Standard Input View containing a label and an input field.
-
National Number (e.g. )
Declaration
Swift
public var nationalNumber: String { get }
-
True if the phone number is valid, false otherwise
Declaration
Swift
public var isValidNumber: Bool { get }
-
Phone Number
Declaration
Swift
public var phoneNumber: PhoneNumber?
-
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)
-
Called when the text changed.
Declaration
Swift
@objc public func textFieldDidChange(textField: UITextField)