Skip to content

Releases: DenTelezhkin/DTModelStorage

11.0.2

06 Jun 16:37
Compare
Choose a tag to compare

Added

  • Support for Xcode 15 (beta 1)

Removed

  • Previously deprecated and marked unavailable properties: displaySectionNameForSupplementaryKinds, SectionModel.supplementaries, RealmSection.supplementaries

11.0.1

10 Apr 11:08
Compare
Choose a tag to compare

Fixed

  • Compilation issue with new Realm versions (@RenGate, #36)

11.0.0

06 Oct 11:28
Compare
Choose a tag to compare
Releasing version 11.0.0.

11.0.0-beta.1

11 Jul 09:38
Compare
Choose a tag to compare

Added

  • CellViewModelMapping, SupplementaryViewModelMapping base classes and several protocols to cover existing implementation of ViewModelMapping. Concrete implementation for those base class is now a part of DTTableViewManager / DTCollectionViewManager.

Removed

  • ViewModelMapping and ViewModelMappingProtocol. Their functionality has been moved into CellViewModelMapping, SupplementaryViewModelMapping and protocol extensions on those. Please note, that while technically those are breaking changes, usage of mappings in DTTableViewManager / 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

02 Dec 15:16
Compare
Choose a tag to compare

Added

  • Section.isEmpty property indicating that section does not contain any elements. Accessing this property is faster than accessing Section.numberOfItems property.

10.0.0-beta.1

11 Jul 18:04
Compare
Choose a tag to compare

Removed

  • defersDatasourceUpdates on MemoryStorage. 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

20 May 16:26
Compare
Choose a tag to compare

Added

  • Ability to create SectionModel with array of items.

9.1.1

27 Apr 09:09
Compare
Choose a tag to compare

Fixed

  • Xcode 12.5 / Swift 5.4 warnings

9.1.0

03 Mar 09:19
Compare
Choose a tag to compare

Changed

  • UICollectionView cell and supplementary registration from code and xib has been updated to only create UICollectionView.CellRegistration and UICollectionView.SupplementaryRegistration once per mapping. This is required for proper cell and supplementary reuse.

9.0.1

25 Nov 12:27
Compare
Choose a tag to compare

Changed

  • Realm subspec has been reenabled.