This commit is contained in:
2018-03-22 18:27:47 +03:00
parent 368b90ddc8
commit bfaf668191
4 changed files with 5 additions and 5 deletions
@@ -32,7 +32,6 @@ public extension GeneralDataLoadingController where Self: UIViewController {
// MARK: - GeneralDataLoadingController default implementation
/// Call this method in viewDidLoad instead of initialLoadView.
func initialLoadDataLoadingView() {
addViews()
setAppearance()
@@ -60,8 +59,8 @@ public extension GeneralDataLoadingController where Self: UIViewController {
switch value {
case .loading:
base.onLoadingState()
case .result:
base.onResultsState()
case .result(let newResult, _):
base.onResultsState(result: newResult)
case .empty:
base.onEmptyState()
case .error(let error):