Releases: cellular/modeldatasource-swift
Releases · cellular/modeldatasource-swift
Change associated type
Fix for Xcode13.3 / Swift 5.6
This release fixes Xcode13.3 / Swift 5.6 compile issues
Swift 5.1 and SPM support
- Swift 5.1
- SPM support
- Deployment target iOS 11, tvOS 11
Swift 5.0
- Support for Swift 5.0
- Fix crash when using removall() on empty collections
- Minor refactoring
- CollctionViewDataSource and TableViewDataSource are marked as final
Fix removeAll on ModelCollection
The release changes the default value for the param keepCapacity in ModelCollection.removeAll(keepingCapacity keepCapacity: Bool) allowing downward compatibility prior to version 5.0.0.
Collection conformance
- ModelDataSource conforms against MutableCollection, RandomAccessCollection, RangeReplaceableCollection
- Old API marked as deprecated
- Swift 4.2