Revised Superclass.

This commit is contained in:
Kevin G Christiano 2019-12-02 08:56:58 -05:00
parent 3654b05773
commit fc7ef567e3
2 changed files with 1 additions and 27 deletions

View File

@ -461,8 +461,4 @@ extension DigitEntryField {
}
}
}
@objc open override class func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {
return 115
}
}

View File

@ -13,7 +13,7 @@ import UIKit
*
* When subclassing, be sure to override setupFieldContainerContent(). In this method you will setup all the content bound to the field container.
*/
@objcMembers open class EntryField: ViewConstrainingView {
@objcMembers open class EntryField: View {
//--------------------------------------------------
// MARK: - Outlets
//--------------------------------------------------
@ -247,24 +247,6 @@ import UIKit
entryFieldContainer.reset()
titleLabel.textColor = .mfBattleshipGrey()
}
//--------------------------------------------------
// MARK: - Constraint Methods
//--------------------------------------------------
@objc open override func setLeftPinConstant(_ constant: CGFloat) {
entryFieldContainerLeading?.constant = constant
feedbackLabelLeading?.constant = constant
titleLabelLeading?.constant = constant
}
@objc open override func setRightPinConstant(_ constant: CGFloat) {
entryFieldContainerTrailing?.constant = constant
feedbackLabelTrailing?.constant = constant
titleLabelTrailing?.constant = constant
}
}
// MARK: - Molecular
@ -303,10 +285,6 @@ extension EntryField {
self.fieldKey = fieldKey
}
}
@objc override open class func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {
return 115
}
}
// MARK: - Form Validation