             showNextPage()
         }
     }
-    
-    func addPage(links: Listing<Link>) {
-        if links.count == 0 {
-            return
-        }
-        
-        let firstPage = pages.count == 0
-        pages.append(links)
-        
-        if firstPage {
-            showNextPage()
-        }
-    }
-    
-    func showNextPage() {
-        if pages.count > tableView.numberOfSections() {
-            tableView.beginUpdates()
-            tableView.insertSections(NSIndexSet(index: pages.count - 1), withRowAnimation: .None)
-            tableView.endUpdates()
-        }
-        
-        if let refresh = refreshControl {
-            if refresh.refreshing {
-                refresh.endRefreshing()
-            }
-        }
-    }
-    
-    override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
-        resetCellHeightCache()
-        super.viewWillTransitionToSize(size, withTransitionCoordinator: coordinator)
-    }
 }

            return cell
        }
    }
    
    override func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
        if let cachedHeight = cellHeightCache[indexPath] {

        }
    }
    
    
    override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
        resetCellHeightCache()
        super.viewWillTransitionToSize(size, withTransitionCoordinator: coordinator)
    }

    
    // MARK: - UITableViewDataSource
    
    override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
        return pages.count
    }
