SwiftUI utilities done (for now)

This commit is contained in:
John Estropia
2021-02-21 10:56:27 +09:00
parent f2efe175e5
commit d7b852fca4
25 changed files with 1154 additions and 203 deletions

View File

@@ -157,6 +157,18 @@ extension DiffableDataSource {
@objc
open dynamic func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath) {}
@objc
open dynamic func sectionIndexTitles(for tableView: UITableView) -> [String]? {
return nil
}
@objc
open dynamic func tableView(_ tableView: UITableView, sectionForSectionIndexTitle title: String, at index: Int) -> Int {
return index
}
// MARK: Private
@@ -255,7 +267,7 @@ extension DiffableDataSource {
}
// MARK: - Deprecated
// MARK: Deprecated
extension DiffableDataSource {