From 898191b0fa8b8d78eb101c3ef8ddb7420dd08e9a Mon Sep 17 00:00:00 2001 From: Maxim Sokolov Date: Thu, 8 Jun 2017 16:17:58 +0300 Subject: [PATCH] remove didEndDisplaying provides problematic behaviour --- Sources/TableDirector.swift | 4 ---- Sources/TableKit.swift | 1 - TableKit.podspec | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Sources/TableDirector.swift b/Sources/TableDirector.swift index e9e9e9f..23ba8fa 100644 --- a/Sources/TableDirector.swift +++ b/Sources/TableDirector.swift @@ -251,10 +251,6 @@ open class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate { } return indexPath } - - open func tableView(_ tableView: UITableView, didEndDisplaying cell: UITableViewCell, forRowAt indexPath: IndexPath) { - invoke(action: .didEndDisplaying, cell: cell, indexPath: indexPath) - } // MARK: - Row editing diff --git a/Sources/TableKit.swift b/Sources/TableKit.swift index 6b8b11c..bff0ef4 100644 --- a/Sources/TableKit.swift +++ b/Sources/TableKit.swift @@ -60,7 +60,6 @@ public enum TableRowActionType { case deselect case willSelect case willDisplay - case didEndDisplaying case shouldHighlight case height case canEdit diff --git a/TableKit.podspec b/TableKit.podspec index c8af02f..260e2cc 100644 --- a/TableKit.podspec +++ b/TableKit.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = 'TableKit' s.module_name = 'TableKit' - s.version = '2.4.1' + s.version = '2.4.0' s.homepage = 'https://github.com/maxsokolov/TableKit' s.summary = 'Type-safe declarative table views with Swift.'