improvements made.
This commit is contained in:
parent
48bcd87bc1
commit
d6005290db
@ -213,6 +213,13 @@ import UIKit
|
|||||||
layoutIfNeeded()
|
layoutIfNeeded()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
open override func layoutSubviews() {
|
||||||
|
super.layoutSubviews()
|
||||||
|
|
||||||
|
entryContainer.refreshUI()
|
||||||
|
setNeedsLayout()
|
||||||
|
}
|
||||||
|
|
||||||
/// Method to override.
|
/// Method to override.
|
||||||
/// Intended to add the interactive content (i.e. textField) to the entryContainer.
|
/// Intended to add the interactive content (i.e. textField) to the entryContainer.
|
||||||
open func setupFieldContainerContent(_ container: UIView) {
|
open func setupFieldContainerContent(_ container: UIView) {
|
||||||
@ -265,6 +272,8 @@ extension EntryField {
|
|||||||
|
|
||||||
guard let dictionary = json, !dictionary.isEmpty else { return }
|
guard let dictionary = json, !dictionary.isEmpty else { return }
|
||||||
|
|
||||||
|
entryContainer.setWithJSON(dictionary, delegateObject: delegateObject, additionalData: additionalData)
|
||||||
|
|
||||||
if let titleText = dictionary["title"] as? String {
|
if let titleText = dictionary["title"] as? String {
|
||||||
title = titleText
|
title = titleText
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,6 +88,7 @@ import UIKit
|
|||||||
override open func setupView() {
|
override open func setupView() {
|
||||||
super.setupView()
|
super.setupView()
|
||||||
|
|
||||||
|
isOpaque = false
|
||||||
layer.addSublayer(bottomBar)
|
layer.addSublayer(bottomBar)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user