blob: 4e1c0926233d8d24864ece83191d09d6775f1742 [file] [log] [blame]
{
"name": "RxDataSources",
"version": "4.0.1",
"summary": "This is a collection of reactive data sources for UITableView and UICollectionView.",
"description": "This is a collection of reactive data sources for UITableView and UICollectionView.\n\nIt enables creation of animated data sources for table an collection views in just a couple of lines of code.\n\n```swift\nlet data: Observable<Section> = ...\n\nlet dataSource = RxTableViewSectionedAnimatedDataSource<Section>()\ndataSource.cellFactory = { (tv, ip, i) in\n let cell = tv.dequeueReusableCell(withIdentifier: \"Cell\") ?? UITableViewCell(style:.Default, reuseIdentifier: \"Cell\")\n cell.textLabel!.text = \"(i)\"\n return cell\n}\n\n// animated\ndata\n .bind(to: animatedTableView.rx.items(dataSource: dataSource))\n .disposed(by: disposeBag)\n\n// normal reload\ndata\n .bind(to: tableView.rx.items(dataSource: dataSource))\n .disposed(by: disposeBag)\n```",
"homepage": "https://github.com/RxSwiftCommunity/RxDataSources",
"license": "MIT",
"authors": {
"Krunoslav Zaher": "krunoslav.zaher@gmail.com"
},
"source": {
"git": "https://github.com/RxSwiftCommunity/RxDataSources.git",
"tag": "4.0.1"
},
"requires_arc": true,
"swift_versions": "5.0",
"source_files": "Sources/RxDataSources/**/*.swift",
"dependencies": {
"Differentiator": [
"~> 4.0"
],
"RxSwift": [
"~> 5.0"
],
"RxCocoa": [
"~> 5.0"
]
},
"platforms": {
"ios": "8.0",
"tvos": "9.0"
}
}