Compare commits

...

2 Commits

Author SHA1 Message Date
mrustaa a59bacaf89 update podspec 2020-06-22 15:29:00 +03:00
mrustaa ab373c569a fix talbe-adapter 2020-06-22 15:20:00 +03:00
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'ContainerControllerSwift'
s.version = '1.1.0'
s.version = '1.1.2'
s.summary = 'This is a swipe-panel from application: https://www.apple.com/ios/maps/'
# This description is used to generate tags and improve search results.
@@ -1134,7 +1134,19 @@ extension ContainerController: UITableViewDataSource {
}
return UITableViewCell()
}
public func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
if let tableAdapterView = scrollView as? TableAdapterView {
return tableAdapterView.tableView(tableView, canEditRowAt: indexPath)
}
return false
}
public func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {
if let tableAdapterView = scrollView as? TableAdapterView {
return tableAdapterView.tableView(tableView, commit: editingStyle, forRowAt: indexPath)
}
}
}
// MARK: - Collection Delegate