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