Releases: GenericDataSource/GenericDataSource
Releases · GenericDataSource/GenericDataSource
3.0.3
3.0.2
- Upgrade to Xcode 9.3.
3.0.1
- Fix a crash in
CompositeSupplementaryViewCreator.
3.0.0
- Swift 4.0 Support.
2.4.5
- Adding
onItemsUpdatedto basic data sources to monitor changes toitemsproperty. - Adding most non-essential APIs to be
DataSourceSelectorso that, it's delegate methods is not called by default.
2.4.4
- Added the ability for
CompositeDataSourceandSegmentedDataSourceto automaticallyds_responds(to selector: DataSourceSelector)if the subclass implemented the selector.
2.4.3
- Fix registering header/footer class method name to be
func ds_register(headerFooterClass view: UITableViewHeaderFooterView.Type)instead of incorrect old namefunc ds_register(headerFooterNib view: UITableViewHeaderFooterView.Type).
2.4.2
- Adding
asCollectionView()andasTableView()methods toGeneralCollectionViewto convert it toUICollectionViewandUITableViewrespectively. - Adding
sizeproperty toGeneralCollectionViewto get the size of the underlyingUICollectionView/UITableView.
2.4.1
@autoclosureof casting fatal message. Improves performance since there is string manipulation.
2.4.0
ds_shouldConsumeItemSizeDelegateCallsis unavailable, instead useds_responds(to selector: DataSourceSelector) -> Bool, It takes an enum, with.sizeit act the same asds_shouldConsumeItemSizeDelegateCalls.- Fixes a bug that makes all table view cells editable by default.
- New
ds_responds(to selector: DataSourceSelector) -> Boolto make it so easy to make some implementations ofDataSourcemethods optional (e.g. we used it to fix the editable table view cells bug).