Releases: DenTelezhkin/DTModelStorage
Releases · DenTelezhkin/DTModelStorage
11.0.2
11.0.1
11.0.0
Releasing version 11.0.0.
11.0.0-beta.1
Added
CellViewModelMapping
,SupplementaryViewModelMapping
base classes and several protocols to cover existing implementation ofViewModelMapping
. Concrete implementation for those base class is now a part ofDTTableViewManager
/DTCollectionViewManager
.
Removed
ViewModelMapping
andViewModelMappingProtocol
. Their functionality has been moved intoCellViewModelMapping
,SupplementaryViewModelMapping
and protocol extensions on those. Please note, that while technically those are breaking changes, usage of mappings inDTTableViewManager
/DTCollectionViewManager
is unchanged, and should not introduce breaking changes, unless those type names have been explicitly written in code.
Breaking
- Package now requires Xcode 13.
10.0.0
Added
Section.isEmpty
property indicating that section does not contain any elements. Accessing this property is faster than accessingSection.numberOfItems
property.
10.0.0-beta.1
Removed
defersDatasourceUpdates
onMemoryStorage
. This property was deprecated in previous release and is now removed.MemoryStorage
now always defers updates as if this property was turned on (which was the default).ProxyDiffableDataSourceStorage
. Diffable datasource integration has been restructured in a way, that no longer requires this class.
9.1.2
Added
- Ability to create
SectionModel
with array of items.
9.1.1
Fixed
- Xcode 12.5 / Swift 5.4 warnings
9.1.0
Changed
- UICollectionView cell and supplementary registration from code and xib has been updated to only create
UICollectionView.CellRegistration
andUICollectionView.SupplementaryRegistration
once per mapping. This is required for proper cell and supplementary reuse.
9.0.1
Changed
- Realm subspec has been reenabled.