Revised Superclass.
This commit is contained in:
parent
3654b05773
commit
fc7ef567e3
@ -461,8 +461,4 @@ extension DigitEntryField {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc open override class func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {
|
|
||||||
return 115
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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.
|
* 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
|
// MARK: - Outlets
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
@ -247,24 +247,6 @@ import UIKit
|
|||||||
entryFieldContainer.reset()
|
entryFieldContainer.reset()
|
||||||
titleLabel.textColor = .mfBattleshipGrey()
|
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
|
// MARK: - Molecular
|
||||||
@ -303,10 +285,6 @@ extension EntryField {
|
|||||||
self.fieldKey = fieldKey
|
self.fieldKey = fieldKey
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc override open class func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {
|
|
||||||
return 115
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Form Validation
|
// MARK: - Form Validation
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user