     override func viewDidLoad() {
         super.viewDidLoad()
         guard let (cellIdentifier, cellClass) = cellIdentifiersClasses[searchType] else { return }
-        tableView = EmptyStateTableView(frame: view.frame, type: .search)
+        tableView = EmptyStateTableView(frame: .zero, type: .search)
         tableView.register(cellClass, forCellReuseIdentifier: cellIdentifier)
         tableView.showsVerticalScrollIndicator = false
         tableView.loadingAnimation.center.y -= TabbedPageViewController.tabBarY

        }
        view.addSubview(tableView)
        mainScrollView = tableView
        
        automaticallyAdjustsScrollViewInsets = true
    }
    
    override func viewDidAppear(_ animated: Bool) {

//

import UIKit
import SnapKit
import NVActivityIndicatorView

enum SearchType {
