Releases: DenTelezhkin/DTTableViewManager
3.0.0
3.0 is a next major release of DTTableViewManager. Read all about changes in detail on a wiki page.
Features
- Full Swift support, including swift model classes
- Added convenience method to update section items
- Added
DTTableViewControllerEvents
protocol, that allows developer to react to changes in datasource - Registering header or footer view now automatically changes default header/footer style to DTTableViewSectionStyleView.
Breaking changes
DTSectionModel
methodsheaderModel
andfooterModel
were renamed. UsetableHeaderModel
andtableFooterModel
instead.DTStorage
protocol was renamed toDTStorageProtocol
.DTTableViewDataStorage
class was removed, it's methods were merged inDTMemoryStorage
DTDefaultCellModel
andDTDefaultHeaderFooterModel
were removed.
2.7.0
This is a release, that is targeted at improving code readability, and reducing number of classes and protocols inside DTTableViewManager architecture.
Breaking changes
DTTableViewMemoryStorage
class was removed. It's methods were transferred toDTMemoryStorage+DTTableViewManagerAdditions
category.DTTableViewStorageUpdating
protocol was removed. It's methods were moved toDTTableViewController
.
Features
- When using
DTCoreDataStorage
, section titles are displayed by default, if NSFetchedController was created with sectionNameKeyPath property.
2.5.0
Changes
Preliminary support for Swift.
If you use cells, headers or footers inside storyboards from Swift, implement optional reuseIdentifier method to return real Swift class name instead of the mangled one. This name should also be set as reuseIdentifier in storyboard.
2.4.0
Breaking changes
Reuse identifier now needs to be identical to cell, header or footer class names. For example, UserTableCell should now have "UserTableCell" reuse identifier.
2.3.0
Features
Added properties of DTTableViewController
to control, whether section headers and footers should be shown for sections, that don't contain any items.
Deprecations
Removed DTModelSearching
protocol, please use DTMemoryStorage
setSearchingBlock:forModelClass:
method instead.
2.2.0
DTModelSearching
protocol is deprecated and is replaced by memoryStorage method setSearchingBlock:forModelClass:- UITableViewDelegate and UITableViewDatasource properties for UITableView are now filled automatically.
- Added more assertions, programmer errors should be easily captured.
2.1.0
Breaking changes
Storage classes now use external dependency from DTModelStorage repo.
Some method calls on memory storage have been renamed, dropping 'table' part from the name, for example
-(void)addTableItems:(NSArray *)items
now becomes
-(void)addItems:(NSArray *)items
Several protocols and classes have been also renamed:
DTTableViewModelTransfer
- DTModelTransfer
DTTableViewModelSearching
- DTModelSearching
DTTableViewCoreDataStorage
- DTCoreDataStorage
Features
Added support for default UITableViewCellStyles and default UITableViewHeaderFooterViews without subclassing.
2.0
DTTableViewManager 2.0 is a major update to the framework with several API - breaking changes. Please read DTTableViewManager 2.0 transition guide for an overview.
1.3.0
Features
Added support for storyboard prototype cells.
Enhancements
DTTableViewManager renamed to DTTableViewController.
Bugfixes
Fixed bug, which prevented using correct height values on custom headers and footers.
1.2.1
Features
Added ability to disable logging
Enhancements
Improved structure of mapping code, now mapping and cell creation happens completely in DTCellFactory class.