getting ready for the next phase.
This commit is contained in:
parent
70a3ad2804
commit
5bc78e594e
@ -17,7 +17,6 @@ open class CaretButton: MFCustomButton, MVMCoreUIMoleculeViewProtocol, MVMCoreUI
|
||||
private let CARET_VIEW_HEIGHT: Float = 10.5
|
||||
private let CARET_VIEW_WIDTH: Float = 6.5
|
||||
|
||||
|
||||
//------------------------------------------------------
|
||||
// MARK: - Properties
|
||||
//------------------------------------------------------
|
||||
@ -52,8 +51,7 @@ open class CaretButton: MFCustomButton, MVMCoreUIMoleculeViewProtocol, MVMCoreUI
|
||||
changeCaretColor()
|
||||
}
|
||||
|
||||
public func updateView(_ size: CGFloat) {
|
||||
}
|
||||
public func updateView(_ size: CGFloat) { }
|
||||
|
||||
//------------------------------------------------------
|
||||
// MARK: - Functions
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
import UIKit
|
||||
|
||||
|
||||
open class DigitEntryField: TextEntryField, DigitBoxDelegate {
|
||||
@objcMembers open class DigitEntryField: TextEntryField, DigitBoxDelegate {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Outlets
|
||||
//--------------------------------------------------
|
||||
@ -120,6 +120,7 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
|
||||
} else {
|
||||
messageToTextFieldPin?.constant = 0
|
||||
}
|
||||
|
||||
super.descriptionText = newValue
|
||||
}
|
||||
}
|
||||
@ -151,7 +152,7 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
|
||||
|
||||
required public init?(coder: NSCoder) {
|
||||
super.init(coder: coder)
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
fatalError("DigitEntryField xib has not been implemented")
|
||||
}
|
||||
|
||||
public init(numberOfDigits: Int) {
|
||||
@ -239,7 +240,6 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
|
||||
}
|
||||
|
||||
if numberOfDigits > 0 {
|
||||
|
||||
let digitFields = [DigitBox](repeating: createDigitField(), count: numberOfDigits)
|
||||
|
||||
for digitField in digitFields {
|
||||
@ -313,7 +313,7 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
|
||||
})
|
||||
}
|
||||
|
||||
func setDefaultValidationBlock() {
|
||||
public override func defaultValidationBlock() {
|
||||
|
||||
weak var weakSelf = self
|
||||
|
||||
|
||||
@ -37,9 +37,7 @@ import UIKit
|
||||
public var showErrorMessage = false
|
||||
|
||||
public var errorMessage: String? {
|
||||
didSet {
|
||||
feedback = errorMessage
|
||||
}
|
||||
didSet { feedback = errorMessage }
|
||||
}
|
||||
|
||||
public var isEnabled = true {
|
||||
|
||||
@ -12,7 +12,7 @@ import UIKit
|
||||
import MVMCore
|
||||
|
||||
|
||||
class MdnEntryField: TextEntryField, ABPeoplePickerNavigationControllerDelegate, CNContactPickerDelegate {
|
||||
@objcMembers open class MdnEntryField: TextEntryField, ABPeoplePickerNavigationControllerDelegate, CNContactPickerDelegate {
|
||||
//--------------------------------------------------
|
||||
// MARK: - Properties
|
||||
//--------------------------------------------------
|
||||
|
||||
@ -36,8 +36,10 @@
|
||||
@"footer": StandardFooterView.class,
|
||||
@"caretView": CaretView.class,
|
||||
@"caretButton": CaretButton.class,
|
||||
@"textField" : TextEntryField.class,
|
||||
// @"digitTextField" : DigitTextField.class,
|
||||
@"textField": TextEntryField.class,
|
||||
@"digitEntryField": DigitEntryField.class,
|
||||
@"mdnEntryField" : MdnEntryField.class,
|
||||
@"dropdownEntryField" : DropdownEntryField.class,
|
||||
@"checkbox" : Checkbox.class,
|
||||
@"checkboxWithLabelView" : CheckboxWithLabelView.class,
|
||||
@"cornerLabels" : CornerLabels.class,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user