DTTableViewManager v6.0.0-beta.1 Release Notes
-
๐ This is a major release with some breaking changes, please read DTTableViewManager 6.0 Migration Guide
- โ Added
updateVisibleCells(_:) method
, that allows updating cell data for visible cells with callback on each cell. This is more efficient than callingreloadData
when number of elements inUITableView
does not change, and only contents of items change. - ๐ง Implement
configureEvents(for:_:)
method, that allows batching in several cell events to avoid using T.ModelType for events, that do not have cell created. - โ Added event for
UITableViewDelegate
tableView(_:targetIndexPathForMoveFromRowAt:toProposedIndexPath:
- โ Added events for focus engine on iOS 9
- Added events for iOS 11
UITableViewDelegate
methods:tableView(_:leadingSwipeActionsConfigurationForRowAt:
,tableView(_:trailingSwipeActionsConfigurationForRowAt:
,tableView(_:shouldSpringLoadRowAt:withContext:
- ๐จ
UITableViewDelegate
andUITableViewDatasource
implementations have been refactored fromDTTableViewManager
toDTTableViewDelegate
andDTTableViewDataSource
classes. DTTableViewManager
now allows registering mappings for specific sections, or mappings with any custom condition.- Added
move(_:_:)
method to allow setting up events, reacting totableView:moveRowAt:to:
method.
- โ Added