Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-10-20 13:17:16 -05:00
parent fa39ce82d1
commit e53e66b96a
3 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,7 @@ open class CollectionViewCell<ModelHandlerType: ModelHandlerable & UIView>: UICo
if !initialSetupPerformed {
initialSetupPerformed = true
setup()
modelHandler.updateView()
}
}

View File

@ -120,6 +120,7 @@ open class Button: UIButton, ModelHandlerable, ViewProtocol, Resettable, Useable
accessibilityTraits = .staticText
setupUpdateView()
setup()
updateView()
}
open func setup() {

View File

@ -90,6 +90,7 @@ open class LabelBase: UILabel, ModelHandlerable, ViewProtocol, Resettable {
accessibilityTraits = .staticText
setupUpdateView()
setup()
updateView()
}
open func setup() {}