File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- github "ReactiveX/RxSwift" " 3.0.0-rc.1"
1
+ github "ReactiveX/RxSwift" ~> 3.0
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "RxDataSources"
3
- s . version = "1.0.0-rc.2 "
3
+ s . version = "1.0.0"
4
4
s . summary = "This is a collection of reactive data sources for UITableView and UICollectionView."
5
5
s . description = <<-DESC
6
6
This is a collection of reactive data sources for UITableView and UICollectionView.
@@ -12,19 +12,19 @@ let data: Obserable<Section> = ...
12
12
13
13
let dataSource = RxTableViewSectionedAnimatedDataSource<Section>()
14
14
dataSource.cellFactory = { (tv, ip, i) in
15
- let cell = tv.dequeueReusableCellWithIdentifier( "Cell") ?? UITableViewCell(style:.Default, reuseIdentifier: "Cell")
15
+ let cell = tv.dequeueReusableCell(withIdentifier: "Cell") ?? UITableViewCell(style:.Default, reuseIdentifier: "Cell")
16
16
cell.textLabel!.text = "\( i)"
17
17
return cell
18
18
}
19
19
20
20
// animated
21
21
data
22
- .bindTo(animatedTableView.rx_items (dataSource: dataSource))
22
+ .bindTo(animatedTableView.rx.items (dataSource: dataSource))
23
23
.addDisposableTo(disposeBag)
24
24
25
25
// normal reload
26
26
data
27
- .bindTo(tableView.rx_itemsWithDataSource( dataSource))
27
+ .bindTo(tableView.rx.items(dataSource: dataSource))
28
28
.addDisposableTo(disposeBag)
29
29
```
30
30
DESC
40
40
41
41
s . source_files = 'Sources/**/*.swift'
42
42
43
- s . dependency 'RxSwift' , '~> 3.0.0-rc.1 '
44
- s . dependency 'RxCocoa' , '~> 3.0.0-rc.1 '
43
+ s . dependency 'RxSwift' , '~> 3.0'
44
+ s . dependency 'RxCocoa' , '~> 3.0'
45
45
end
You can’t perform that action at this time.
0 commit comments