blob: 57d191b1ce094325db1b7b7d41054435c29204f1 [file] [log] [blame]
{
"name": "RxDataSources",
"version": "1.0.2",
"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: Obserable<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 .bindTo(animatedTableView.rx.items(dataSource: dataSource))\n .addDisposableTo(disposeBag)\n\n// normal reload\ndata\n .bindTo(tableView.rx.items(dataSource: dataSource))\n .addDisposableTo(disposeBag)\n```",
"homepage": "https://github.com/ReactiveX/RxSwift",
"license": "MIT",
"authors": {
"Krunoslav Zaher": "krunoslav.zaher@gmail.com"
},
"source": {
"git": "https://github.com/RxSwiftCommunity/RxDataSources.git",
"tag": "1.0.2"
},
"requires_arc": true,
"platforms": {
"ios": "8.0",
"tvos": "9.0"
},
"source_files": "Sources/**/*.swift",
"dependencies": {
"RxSwift": [
"~> 3.0"
],
"RxCocoa": [
"~> 3.0"
]
},
"pushed_with_swift_version": "3.0"
}