getting ready for the next phase.

This commit is contained in:
Kevin G Christiano 2019-10-24 15:43:06 -04:00
parent 70a3ad2804
commit 5bc78e594e
5 changed files with 11 additions and 13 deletions

View File

@ -17,7 +17,6 @@ open class CaretButton: MFCustomButton, MVMCoreUIMoleculeViewProtocol, MVMCoreUI
private let CARET_VIEW_HEIGHT: Float = 10.5 private let CARET_VIEW_HEIGHT: Float = 10.5
private let CARET_VIEW_WIDTH: Float = 6.5 private let CARET_VIEW_WIDTH: Float = 6.5
//------------------------------------------------------ //------------------------------------------------------
// MARK: - Properties // MARK: - Properties
//------------------------------------------------------ //------------------------------------------------------
@ -52,8 +51,7 @@ open class CaretButton: MFCustomButton, MVMCoreUIMoleculeViewProtocol, MVMCoreUI
changeCaretColor() changeCaretColor()
} }
public func updateView(_ size: CGFloat) { public func updateView(_ size: CGFloat) { }
}
//------------------------------------------------------ //------------------------------------------------------
// MARK: - Functions // MARK: - Functions

View File

@ -9,7 +9,7 @@
import UIKit import UIKit
open class DigitEntryField: TextEntryField, DigitBoxDelegate { @objcMembers open class DigitEntryField: TextEntryField, DigitBoxDelegate {
//-------------------------------------------------- //--------------------------------------------------
// MARK: - Outlets // MARK: - Outlets
//-------------------------------------------------- //--------------------------------------------------
@ -120,6 +120,7 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
} else { } else {
messageToTextFieldPin?.constant = 0 messageToTextFieldPin?.constant = 0
} }
super.descriptionText = newValue super.descriptionText = newValue
} }
} }
@ -151,7 +152,7 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
required public init?(coder: NSCoder) { required public init?(coder: NSCoder) {
super.init(coder: coder) super.init(coder: coder)
fatalError("init(coder:) has not been implemented") fatalError("DigitEntryField xib has not been implemented")
} }
public init(numberOfDigits: Int) { public init(numberOfDigits: Int) {
@ -239,7 +240,6 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
} }
if numberOfDigits > 0 { if numberOfDigits > 0 {
let digitFields = [DigitBox](repeating: createDigitField(), count: numberOfDigits) let digitFields = [DigitBox](repeating: createDigitField(), count: numberOfDigits)
for digitField in digitFields { for digitField in digitFields {
@ -313,7 +313,7 @@ open class DigitEntryField: TextEntryField, DigitBoxDelegate {
}) })
} }
func setDefaultValidationBlock() { public override func defaultValidationBlock() {
weak var weakSelf = self weak var weakSelf = self

View File

@ -37,9 +37,7 @@ import UIKit
public var showErrorMessage = false public var showErrorMessage = false
public var errorMessage: String? { public var errorMessage: String? {
didSet { didSet { feedback = errorMessage }
feedback = errorMessage
}
} }
public var isEnabled = true { public var isEnabled = true {

View File

@ -12,7 +12,7 @@ import UIKit
import MVMCore import MVMCore
class MdnEntryField: TextEntryField, ABPeoplePickerNavigationControllerDelegate, CNContactPickerDelegate { @objcMembers open class MdnEntryField: TextEntryField, ABPeoplePickerNavigationControllerDelegate, CNContactPickerDelegate {
//-------------------------------------------------- //--------------------------------------------------
// MARK: - Properties // MARK: - Properties
//-------------------------------------------------- //--------------------------------------------------

View File

@ -36,8 +36,10 @@
@"footer": StandardFooterView.class, @"footer": StandardFooterView.class,
@"caretView": CaretView.class, @"caretView": CaretView.class,
@"caretButton": CaretButton.class, @"caretButton": CaretButton.class,
@"textField" : TextEntryField.class, @"textField": TextEntryField.class,
// @"digitTextField" : DigitTextField.class, @"digitEntryField": DigitEntryField.class,
@"mdnEntryField" : MdnEntryField.class,
@"dropdownEntryField" : DropdownEntryField.class,
@"checkbox" : Checkbox.class, @"checkbox" : Checkbox.class,
@"checkboxWithLabelView" : CheckboxWithLabelView.class, @"checkboxWithLabelView" : CheckboxWithLabelView.class,
@"cornerLabels" : CornerLabels.class, @"cornerLabels" : CornerLabels.class,