Skip to content

Releases: DenTelezhkin/DTModelStorage

2.1.2

12 Oct 11:19
Compare
Choose a tag to compare

Added

  • setSection(_:forSectionIndex:) method to set specific section with supplementaries and reloadData

Updated

  • Explicitly call storageNeedsReloading from methods setSupplementaries, setSectionHeaderModels and setSectionFooterModels

1.3.3

12 Oct 13:19
Compare
Choose a tag to compare

Fixes

  • Fixed #6

2.1.1

11 Oct 14:02
Compare
Choose a tag to compare

Added

  • insertSection(_:atIndex:) that allows to insert SectionModel directly, with items and supplementary models.

2.1.0

11 Oct 14:01
Compare
Choose a tag to compare

Updated

  • StorageUpdate class was rewritten from scratch using Swift Set.
  • StorageUpdate now contains movedRowIndexPaths and movedSectionIndexes properties
  • All method names and properties, that contained object term in their name, have been renamed to read 'item' instead
  • MemoryStorage sectionAtIndex(_:) method now returns optional value instead of always returning SectionModel. This method no longer inserts new sections, when called.

Fixed

  • removeItems method should no longer skip items, if their indexPath is reduced when removing previous item

Removed

  • removeAllTableItems and removeAllCollectionItems have been replaced by removeAllItems method.
  • moveCollectionItemAtIndexPath:toIndexPath: and moveTableItemAtIndexPath:toIndexPath: have been replaced by moveItemAtIndexPath:toIndexPath: method
  • moveCollectionViewSection:toSection and moveTableViewSection:toSection have been replaced by moveSection:toSection method

2.0.0

13 Sep 15:16
Compare
Choose a tag to compare

Framework was completely rewritten from scratch in Swift 2.

For more details, read blog post.