execute updateView() after setup

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-11-02 11:11:39 -05:00
parent 5c21e5469f
commit 53b43c6daf
4 changed files with 6 additions and 2 deletions

View File

@ -67,6 +67,7 @@ open class Control: UIControl, Handlerable, ViewProtocol, Resettable {
initialSetupPerformed = true
setup()
setupDidChangeEvent()
updateView()
}
}

View File

@ -66,7 +66,8 @@ open class View: UIView, Handlerable, ViewProtocol, Resettable {
initialSetupPerformed = true
setup()
setupDidChangeEvent()
}
updateView()
}
}
//--------------------------------------------------

View File

@ -128,6 +128,7 @@ open class Button: UIButton, Handlerable, ViewProtocol, Resettable, Useable {
accessibilityTraits = .staticText
setup()
setupDidChangeEvent()
updateView()
}
}

View File

@ -96,7 +96,8 @@ open class LabelBase: UILabel, Handlerable, ViewProtocol, Resettable {
accessibilityTraits = .staticText
setup()
setupDidChangeEvent()
}
updateView()
}
}
open func setup() {}