         setupNavigationBar()
         setupTableview()
         automaticallyAdjustsScrollViewInsets = false
+        
        
         
     }

    lazy var navItem = UINavigationItem()
    
    var tableview: UITableView?
    
    override func viewDidLoad() {
        super.viewDidLoad()

        tableview?.delegate = self
        tableview?.dataSource = self
        
        refreshControl = UIRefreshControl()
        tableview?.addSubview(refreshControl!)
        
        tableview?.contentInset = UIEdgeInsets(top: navBar.bounds.height, left: 0, bottom: tabBarController?.tabBar.bounds.height ?? 49, right: 0)
        
