All Versions
51
Latest Version
Avg Release Cycle
64 days
Latest Release
72 days ago

Changelog History
Page 1

  • v7.0.0

    November 08, 2019
    • 🚚 willCommitMenuWithAnimator method has been made unavailable for Xcode 11.2, because UITableViewDelegate method it used has been removed from UIKit on Xcode 11.2.
  • v7.0.0-beta.2

    September 06, 2019
    • ➕ Added support for Xcode versions, that are older than Xcode 11.
  • v7.0.0-beta.1

    August 20, 2019

    🚀 This is a major release with some breaking changes, please read DTTableViewManager 7.0 Migration Guide

    ➕ Added

    • 🔧 configureDiffableDataSource(modelProvider:) method to enable UITableViewDiffableDataSource with DTTableViewManager.
    • Ability for DTTableViewManageable to implement tableView(_:viewForHeaderInSection:) and tableView(_:viewForFooterInSection:) to return view directly without going through storages.
    • 🔧 minimalHeaderHeightForTableView and minimalFooterHeightForTableView properties for TableViewConfiguration, that allows configuring height for section headers and footers that need to be hidden.
    • 0️⃣ Ability to customize bundle, from which xib files are loaded from by setting bundle property on ViewModelMapping in mappingBlock. As before, bundle defaults to Bundle(for: ViewClass.self).
    • DTTableViewManager.supplementaryStorage getter, that conditionally casts current storage to SupplementaryStorage protocol.

    🆕 New method wrappers for iOS 13 API

    • shouldBeginMultipleSelectionInteraction
    • didBeginMultipleSelectionInteraction
    • didEndMultipleSelectionInteraction
    • contextMenuConfiguration(for:)
    • previewForHighlightingContextMenu
    • previewForDismissingContextMenu
    • willCommitMenuWithAnimator

    🔄 Changed

    • If tableView section does not contain any items, and TableViewConfiguration.display<Header/Footer>OnEmptySection property is set to false, DTTableViewManager no longer asks for header footer height explicitly and returns TableViewConfiguration.minimal<Header/Footer>HeightForTableView.
    • Anomaly event verification now allows subclasses to prevent false-positives.
    • ⚡️ animateChangesOffScreen property on TableViewUpdater that allows to turn off animated updates for UITableView when it is not on screen.

    ✂ Removed

    • 🚚 Usage of previously deprecated and now removed from DTModelStorage ViewModelMappingCustomizing protocol.

    💥 Breaking

    DTModelStorage header, footer and supplementary model handling has been largely restructured to be a single closure-based API. Read more about changes in DTModelStorage changelog. As a result of those changes, several breaking changes in DTTableViewManager include:

    • 🚚 SupplementaryAccessible extension with tableHeaderModel and tableFooterModel properties has been removed.
    • 0️⃣ Because headers/footers are now a closure based API, setSectionHeaderModels and setSectionFooterModels do not create sections by default, and do not call tableView.reloadData.
    • 🔧 If a storage does not contain any sections, even if configuration.displayHeaderOnEmptySections or configuration.displayFooterOnEmptySections is set, headers and footers will not be displayed, since there are no sections, which is different from present sections, that contain 0 items. For example, If you need to show a header or footer in empty section using MemoryStorage, you can call memoryStorage.setItems([Int](), forSectionAt: emptySectionIndex), and now with empty section header and footer can be displayed.

    Other breaking changes:

    • ⚡️ tableViewUpdater will contain nil if DTTableViewManager is configured to work with UITableViewDiffableDataSource.
    • 🚚 DTTableViewOptionalManageable protocol was removed and replaced by optionalTableView property on DTTableViewManageable protocol. One of tableView/optionalTableView properties must be implemented by DTTableViewManageable instance to work with DTTableViewManager.

    🗄 Deprecated

    🗄 Following methods have been deprecated due to their delegate methods being deprecated in iOS 13:

    • editActions(for:)
    • shouldShowMenuForItemAt
    • canPerformAction
    • performAction
  • v6.6.0

    June 17, 2019
    • ➕ Added support for Swift Package Manager in Xcode 11
  • v6.5.0

    April 07, 2019

    ➕ Added

    • Convenience constructor for DTTableViewManager object: init(storage:) that allows to create it's instance without initializing MemoryStorage.
    • 🔧 Static variable defaultStorage on DTTableViewManager that allows to configure which Storage class is used by default.
    • 📚 Documentation
    • 👌 Support for Xcode 10.2 and Swift 5

    ✂ Removed

    • 👌 Support for Xcode 9 and Swift 3
  • v6.4.0

    September 25, 2018

    🚀 Dependency changelog -> DTModelStorage 7.2.0 and higher

    ➕ Added

    • Example of auto-diffing capability and animations when using SingleSectionStorage.
    • 👌 Support for Swift 4.2 and Xcode 10.

    🔄 Changed

    • ⬇️ Reduced severity comment for nilHeaderModel and nilFooterModel anomalies, since in some cases it's actually a desired behavior.
  • v6.3.0

    June 09, 2018

    ➕ Added

    • Anomaly detecting system for various errors in DTTableViewManager. Read more about it in Anomaly Handler Readme section. Anomaly handler system requires Swift 4.1 and higher.
    • 👌 Support for Swift 4.2 in Xcode 10 beta 1.

    🔄 Changed

    • Calling startManaging(withDelegate:_) method is no longer required.

    💥 Breaking

    • 🚚 viewFactoryErrorHandler deprecated property on DTTableViewManager was removed. All previously reported errors and warnings are now a part of anomaly detecting system.
  • v6.2.0

    May 03, 2018

    💥 Breaking

    • editingStyle(for:_,_:) method was replaced with editingStyle(forItem:_,:_) method, that accepts model and indexPath closure, without cell. Reason for that is that UITableView may call this method when cell is not actually on screen, in which case this event would not fire, and current editingStyle of the cell would be lost.
  • v6.1.1

    April 02, 2018
    • ⚡️ Updates for Xcode 9.3 and Swift 4.1
  • v6.1.0

    January 19, 2018

    2017-12-04