Skip to content

Commit c94d144

Browse files
committed
add UITableViewRowAnimation swift 4.2 support
1 parent 6b7efc3 commit c94d144

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)