improvements made.

This commit is contained in:
Kevin G Christiano 2019-11-12 14:56:22 -05:00
parent 48bcd87bc1
commit d6005290db
2 changed files with 10 additions and 0 deletions

View File

@ -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
}

View File

@ -88,6 +88,7 @@ import UIKit
override open func setupView() {
super.setupView()
isOpaque = false
layer.addSublayer(bottomBar)
}