         #if DEBUG
             debugPrint("LoadMoreTableViewController.hideFooter()")
         #endif
-
+        
         self.tableView.tableFooterView = nil
     }
     

    override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
        return UITableViewAutomaticDimension
    }

    // MARK: - WS Methods
    func loadMore(_ clear: Bool = false, with refreshControl: UIRefreshControl? = nil) {
        self.loadMore(clear, with: refreshControl) {

        
        
        if index >= indexToLoadMore && indexToLoadMore > 0 {
            #if DEBUG
                debugPrint("LoadMoreTableViewController.willDisplayCell: indexToLoadMore=\(indexToLoadMore) index=\(index)")
            #endif
            self.loadMore()
        }
    }
