This commit is contained in:
Pfeil, Scott Robert 2020-04-15 11:29:32 -04:00
parent c009ef64a3
commit dcd6257f95

View File

@ -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() {