Releases: traderepublic/SectionKit
Releases · traderepublic/SectionKit
0.11
- Added init to both adapters to initialise them with static sections
- Refactored drag/drop implementation, added multiple optional methods for notifying about drag/drop sessions entering/exiting the `UICollectionView
0.10.2
- Fixed SwiftLint errors and disable linting in Carthage builds
0.10.1
- Add
isModelEqual
parameter to Section
init which is used to compare if a certain section should be updated
0.10
- Add
SingleSectionCollectionViewAdapter
which has a simpler API to use for collections with a single section
- Major refactor regarding the datasource protocols of both
CollectionViewAdapter
implementations (single section / list) to remove the SectionModel
constraint
0.9
- The return value of
CollectionViewAdapterDataSource.sectionController(with:for:)
is now optional, making it possible to return nil
for unsupported SectionModel
(returning nil
will still result in a section to be added but it won't contain any cells)
0.8
The following properties of SectionIndexPath
got renamed:
externalRepresentation
-> indexInCollectionView
internalRepresentation
-> indexInSectionController
0.7
- Support for
UICollectionViewDataSourcePrefetching
using SectionDataSourcePrefetchingDelegate
- Added
ManualDiffingListSectionController
0.6.2
- Add check if indexpath contains exactly two indices
0.6.1
- Add
CFBundleVersion
to Info.plist
0.6.0
- Add convenience methods on CollectionViewContext for performing batch updates