merge
This commit is contained in:
parent
c009ef64a3
commit
dcd6257f95
@ -236,10 +236,13 @@ import UIKit
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - View lifecycle
|
// MARK: - View lifecycle
|
||||||
|
|
||||||
|
/// Called only once in viewDidLoad
|
||||||
open func initialLoad() {
|
open func initialLoad() {
|
||||||
observeForResponseJSONUpdates()
|
observeForResponseJSONUpdates()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Called on screen size update.
|
||||||
open func updateViews() {
|
open func updateViews() {
|
||||||
_ = formValidator?.validate()
|
_ = formValidator?.validate()
|
||||||
}
|
}
|
||||||
@ -265,8 +268,7 @@ import UIKit
|
|||||||
initialLoad()
|
initialLoad()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle data for first load. Dispatched to allow subclasses to finish their view did load implementations.
|
handleNewDataAndUpdateUI()
|
||||||
self.handleNewDataAndUpdateUI()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open override func viewDidLayoutSubviews() {
|
open override func viewDidLayoutSubviews() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user