Skip to content

Releases: DenTelezhkin/DTTableViewManager

3.0.0

13 Oct 18:18
Compare
Choose a tag to compare

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 methods headerModel and footerModel were renamed. Use tableHeaderModel and tableFooterModel instead.
  • DTStorage protocol was renamed to DTStorageProtocol.
  • DTTableViewDataStorage class was removed, it's methods were merged in DTMemoryStorage
  • DTDefaultCellModel and DTDefaultHeaderFooterModel were removed.

2.7.0

22 Aug 08:29
Compare
Choose a tag to compare

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 to DTMemoryStorage+DTTableViewManagerAdditions category.
  • DTTableViewStorageUpdating protocol was removed. It's methods were moved to DTTableViewController.

Features

  • When using DTCoreDataStorage, section titles are displayed by default, if NSFetchedController was created with sectionNameKeyPath property.

2.5.0

30 Jul 20:12
Compare
Choose a tag to compare

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

21 Apr 18:34
Compare
Choose a tag to compare

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

23 Mar 16:09
Compare
Choose a tag to compare

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

12 Feb 09:49
Compare
Choose a tag to compare
  • 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

15 Jan 14:50
Compare
Choose a tag to compare

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

10 Dec 15:54
Compare
Choose a tag to compare
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

24 Oct 07:29
Compare
Choose a tag to compare

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

10 Aug 12:19
Compare
Choose a tag to compare

Features

Added ability to disable logging

Enhancements

Improved structure of mapping code, now mapping and cell creation happens completely in DTCellFactory class.