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
onItemsUpdated
to basic data sources to monitor changes toitems
property. - Adding most non-essential APIs to be
DataSourceSelector
so that, it's delegate methods is not called by default.
2.4.4
- Added the ability for
CompositeDataSource
andSegmentedDataSource
to 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 toGeneralCollectionView
to convert it toUICollectionView
andUITableView
respectively. - Adding
size
property toGeneralCollectionView
to get the size of the underlyingUICollectionView
/UITableView
.
2.4.1
@autoclosure
of casting fatal message. Improves performance since there is string manipulation.
2.4.0
ds_shouldConsumeItemSizeDelegateCalls
is unavailable, instead useds_responds(to selector: DataSourceSelector) -> Bool
, It takes an enum, with.size
it act the same asds_shouldConsumeItemSizeDelegateCalls
.- Fixes a bug that makes all table view cells editable by default.
- New
ds_responds(to selector: DataSourceSelector) -> Bool
to make it so easy to make some implementations ofDataSource
methods optional (e.g. we used it to fix the editable table view cells bug).