execute updateView() after setup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
5c21e5469f
commit
53b43c6daf
@ -67,6 +67,7 @@ open class Control: UIControl, Handlerable, ViewProtocol, Resettable {
|
||||
initialSetupPerformed = true
|
||||
setup()
|
||||
setupDidChangeEvent()
|
||||
updateView()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -66,7 +66,8 @@ open class View: UIView, Handlerable, ViewProtocol, Resettable {
|
||||
initialSetupPerformed = true
|
||||
setup()
|
||||
setupDidChangeEvent()
|
||||
}
|
||||
updateView()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------
|
||||
|
||||
@ -128,6 +128,7 @@ open class Button: UIButton, Handlerable, ViewProtocol, Resettable, Useable {
|
||||
accessibilityTraits = .staticText
|
||||
setup()
|
||||
setupDidChangeEvent()
|
||||
updateView()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -96,7 +96,8 @@ open class LabelBase: UILabel, Handlerable, ViewProtocol, Resettable {
|
||||
accessibilityTraits = .staticText
|
||||
setup()
|
||||
setupDidChangeEvent()
|
||||
}
|
||||
updateView()
|
||||
}
|
||||
}
|
||||
|
||||
open func setup() {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user