Releases: rosberry/CollectionViewTools
Releases · rosberry/CollectionViewTools
SPM and DeppDiff as xc
Make it soft
Implement soft cell update
They get smarter
Simplified working with factories
Implemented ViewCellItemFactory and lazy section item providers
Cell size caching
Caching calculated sizes for cell in cell item for optimisation.
0.1.2
What's new
- CollectionViewTools now support diffs. Check out new Diff example.
- CellItemFactory - now you don't have to create separate cell item for each cell. Try universal cell items and cell item factories.
0.1.1
- Fix performance issue
- Update functions and handlers for cell items to remove unnecessary optional unwrapping
0.1.0
You waited for it for a long time and now update is here.
Warning
This version breaks backward compatibility so be careful with update
What's new
- Rework example app and add a bunch of features
- Remove redundant
protocol
word from all protocols - Simplify
ReuseType
enum - Add new context properties to cell and section items such as
collectionView
indexPath
for cell items andindex
for section itemssectionItem
for cell items
- Simplify protocol methods and handlers by removing context variables
- Add missed handlers for cell events
- Rework all update methods for cell and section items such as
insert
,remove
,reload
- Add convenient
append
andprepend
methods to insert items in the end or at the beginning - Update docs
- Improve performance for sections updates
- Open some internal functions for easy overriding/updating methods
- Fix issue with changing
let
tovar
when setting any handler for cell items - Update to swift 4.2 syntax