     }
     
     func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
-        let cell = tableView.dequeueReusableCell(withIdentifier: Const.cellIdent, for: indexPath) as! MainViewCell
+        let cell = tableView.dequeueReusableCell(withIdentifier: Const.cellNibName, for: indexPath) as! MainViewCell
 //        cell.configure(with: <#T##MainViewCellModel#>)
         return cell
     }

    }
    
    private func setup(_ tableView: UITableView) {
        let nib = UINib(nibName: "MainViewCell", bundle: nil)
        tableView.register(nib, forCellReuseIdentifier: Const.cellIdent)
        
        tableView.estimatedRowHeight = Const.estimateRowHeight
        tableView.rowHeight = UITableViewAutomaticDimension

import MapKit

fileprivate struct Const {
    static let cellNibName = "MainViewCell"
    static let estimateRowHeight: CGFloat = 50
    static let contentInsets = UIEdgeInsetsMake(20, 0, 0, 0)
}
