| { |
| "name": "RxDataSources", |
| "version": "1.0.0-beta.3", |
| "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.dequeueReusableCellWithIdentifier(\"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_itemsWithDataSource(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.0-beta.3" |
| }, |
| "requires_arc": true, |
| "platforms": { |
| "ios": "8.0", |
| "tvos": "9.0" |
| }, |
| "source_files": "Sources/**/*.swift", |
| "dependencies": { |
| "RxSwift": [ |
| "~> 3.0.0-beta.2" |
| ], |
| "RxCocoa": [ |
| "~> 3.0.0-beta.2" |
| ] |
| } |
| } |