4.2.0
Dependency changelog -> DTModelStorage 2.1 and higher
This release aims to improve storage updates and UI animation with UICollectionView. To make this happen, DTModelStorage
classes were rewritten and rearchitectured, allowing finally to remove truly historic workaround. This code was initially written to fix first item insertion and deletion of items in UICollectionView. Somewhere between iOS 6 and iOS 8 Apple has fixed bugs, that caused this behaviour to happen. This is not documented, and was not mentioned anywhere, and i was very lucky to find this out by accident. So finally, I was able to remove these workarounds (which by the way are almost two years old), and UICollectionView UI updates code is as clean as UITableView UI updates code.
There are some backwards-incompatible changes in this release, however Xcode quick-fix tips should guide you through what needs to be changed.
Added
registerNiblessCellClass
andregisterNiblessSupplementaryClass
methods to support creating cells and supplementary views from code
Bugfixes
- Fixed
cellConfiguration
method, that was working incorrectly - Fixed retain cycles in event blocks