Delete now-unused data source methods from TimelineViewController..

This commit is contained in:
Brent Simmons 2018-02-17 12:29:57 -08:00
parent 673686ca68
commit c048b6bea0
1 changed files with 0 additions and 23 deletions

View File

@ -467,29 +467,6 @@ extension TimelineViewController: NSUserInterfaceValidations {
}
}
// MARK: - NSTableViewDataSource
extension TimelineViewController: NSTableViewDataSource {
func numberOfRows(in tableView: NSTableView) -> Int {
return articles.count
}
func tableView(_ tableView: NSTableView, objectValueFor tableColumn: NSTableColumn?, row: Int) -> Any? {
return articles.articleAtRow(row) ?? nil
}
func tableView(_ tableView: NSTableView, pasteboardWriterForRow row: Int) -> NSPasteboardWriting? {
guard let article = articles.articleAtRow(row) else {
return nil
}
return ArticlePasteboardWriter(article: article)
}
}
// MARK: - NSTableViewDelegate
extension TimelineViewController: NSTableViewDelegate {