Releases: DenTelezhkin/DTModelStorage
Releases · DenTelezhkin/DTModelStorage
2.1.2
Added
setSection(_:forSectionIndex:)
method to set specific section with supplementaries and reloadData
Updated
- Explicitly call storageNeedsReloading from methods
setSupplementaries
,setSectionHeaderModels
andsetSectionFooterModels
1.3.3
2.1.1
Added
insertSection(_:atIndex:)
that allows to insertSectionModel
directly, with items and supplementary models.
2.1.0
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 returningSectionModel
. 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
andremoveAllCollectionItems
have been replaced byremoveAllItems
method.moveCollectionItemAtIndexPath:toIndexPath:
andmoveTableItemAtIndexPath:toIndexPath:
have been replaced bymoveItemAtIndexPath:toIndexPath:
methodmoveCollectionViewSection:toSection
andmoveTableViewSection:toSection
have been replaced bymoveSection:toSection
method