Skip to content

Commit ca05ff6

Browse files
authored
Merge pull request #259 from carlosypunto/addSwift4.2Support
add UITableViewRowAnimation swift 4.2 support
2 parents 6b7efc3 + 362bcb0 commit ca05ff6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55

66
#### Enhancements
77
* Reduce computational complexity. #242
8+
* Adapted for RxSwift 4.2
89

910
## [3.0.2](https://github.com/RxSwiftCommunity/RxDataSources/releases/tag/3.0.2)
1011

Sources/RxDataSources/UI+SectionedViewType.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ import Foundation
1111
import UIKit
1212
import Differentiator
1313

14+
#if swift(>=4.2)
15+
public typealias UITableViewRowAnimation = UITableView.RowAnimation
16+
#endif
17+
1418
func indexSet(_ values: [Int]) -> IndexSet {
1519
let indexSet = NSMutableIndexSet()
1620
for i in values {

0 commit comments

Comments
 (0)