All Versions
55
Latest Version
Avg Release Cycle
70 days
Latest Release
1248 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v5.2.0 Changes
๐ New
- โก๏ธ Setting
TableViewUpdater
instance totableViewUpdater
property onDTTableViewManager
now triggersdidUpdateContent
closure onTableViewUpdater
. - โ Added
sectionIndexTitles
event to replaceUITableViewDataSource.sectionIndexTitles(for:)
method. - โ Added
sectionForSectionIndexTitle
event to replaceUITableViewDataSource.tableView(_:sectionForSectionIndexTitle:at)
method.
๐ Bugfixes
- All events that return Optional value now accept nil as a valid event result.
didDeselect(_:,_:)
method now accepts closure without return type - sinceUITableViewDelegate
does not have return type in that method.
- โก๏ธ Setting
-
v5.1.0 Changes
๐ Dependency changelog -> DTModelStorage 4.0.0 and higher
- โก๏ธ
TableViewUpdater
has been rewritten to use newStorageUpdate
properties that track changes in order of their occurence. - โก๏ธ
TableViewUpdater
reloadRowClosure
andDTTableViewManager
updateCellClosure
now accept indexPath and model instead of just indexPath. This is done because update may happen after insertions and deletions and object that needs to be updated may exist on different indexPath.
- โก๏ธ
-
v5.0.0 Changes
No changes
-
v5.0.0-beta.3 Changes
DTModelStorage
dependency now requiresRealm 2.0
UITableViewDelegate
heightForHeaderInSection
andheightForFooterInSection
are now properly called on the delegate, if it implements it(thanks, @augmentedworks!).
-
v5.0.0-beta.2 Changes
โ Added
DTTableViewOptionalManageable
protocol, that is identical toDTTableViewManageable
, but allows optionaltableView
property instead of implicitly unwrapped one.- Enabled
RealmStorage
fromDTModelStorage
dependency
-
v5.0.0-beta.1 Changes
๐ This is a major release, written in Swift 3. Read [Migration guide](Documentation/Migration%20guides/5.0%20Migration%20Guide.md) with descriptions of all features and changes.
๐ Dependency changelog -> DTModelStorage 3.0.0 and higher
โ Added
- ๐ New events system that covers almost all available
UITableViewDelegate
andUITableViewDataSource
delegate methods. - ๐ New class -
TableViewUpdater
, that is calling all animation methods forUITableView
when required by underlying storage. - โก๏ธ
updateCellClosure
method onDTTableViewManager
, that manually updates visible cell instead of callingtableView.reloadRowsAt(_:)
method. - โก๏ธ
coreDataUpdater
property onDTTableViewManager
, that createsTableViewUpdater
object, that follows Apple's guide for updatingUITableView
fromNSFetchedResultsControllerDelegate
events. isManagingTableView
property onDTTableViewManager
unregisterCellClass(_:)
,unregisterHeaderClass(_:)
,unregisterFooterClass(_:)
methods to unregister mappings fromDTTableViewManager
andUITableView
๐ Changed
- Event system is migrated to new
EventReaction
class fromDTModelStorage
- Swift 3 API Design guidelines have been applied to all public API.
- โก๏ธ Section and row animations are now set on
TableViewUpdater
class instead ofTableViewConfiguration
Removals
- ๐
itemForVisibleCell
,itemForCellClass:atIndexPath:
,itemForHeaderClass:atSectionIndex:
,itemForFooterClass:atSectionIndex:
were removed - they were not particularly useful and can be replaced with much shorter Swift conditional typecasts. registerCellClass:whenSelected
method- All events methods with method pointer semantics. Please use block based methods instead.
dataBindingBehaviour
property.viewBundle
property onDTTableViewManager
. Bundle is not determined automatically based on view class.- โก๏ธ
DTTableViewContentUpdatable
protocol. UseTableViewUpdater
properties instead.
- ๐ New events system that covers almost all available
-
v4.8.0 Changes
๐ Changed
- ๐ Support for building in both Swift 2.2 and Swift 2.3
- Now all view registration methods use
NSBundle(forClass:)
constructor, instead of falling back onDTTableViewManager
viewBundle
property. This allows having cells from separate bundles or frameworks to be used with singleDTTableViewManager
instance.
-
v4.7.0 Changes
๐ Dependency changelog -> DTModelStorage 2.6.0 and higher
-
v4.6.0 Changes
๐ Dependency changelog -> DTModelStorage 2.5 and higher
๐ฅ Breaking
- ๐ Update to Swift 2.2. This release is not backwards compatible with Swift 2.1.
๐ Changed
- Require Only-App-Extension-Safe API is set to YES in framework targets.
-
v4.5.3