Skip to content

Commit c82ff53

Browse files
committed
RxSwiftExt 5.0.0: RxCocoa
1 parent 9aaa9ec commit c82ff53

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Source/RxCocoa/UIViewPropertyAnimator+Rx.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public extension Reactive where Base: UIViewPropertyAnimator {
1717
/**
1818
Bindable extension for `fractionComplete` property.
1919
*/
20-
public var fractionComplete: Binder<CGFloat> {
20+
var fractionComplete: Binder<CGFloat> {
2121
return Binder(base) { propertyAnimator, fractionComplete in
2222
propertyAnimator.fractionComplete = fractionComplete
2323
}

Source/RxCocoa/not+RxCocoa.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import RxCocoa
1010

11-
extension SharedSequenceConvertibleType where E == Bool {
11+
extension SharedSequenceConvertibleType where Element == Bool {
1212
/// Boolean not operator.
1313
public func not() -> SharedSequence<SharingStrategy, Bool> {
1414
return map(!)

Source/RxCocoa/partition+RxCocoa.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RxSwiftExt
44
//
55
// Created by Shai Mishali on 24/11/2018.
6-
// Copyright © 2018 RxSwiftCommunity. All rights reserved.
6+
// Copyright © 2018 RxSwift Community. All rights reserved.
77
//
88

99
import RxSwift
@@ -17,8 +17,8 @@ public extension SharedSequence {
1717

1818
- returns: A tuple of two streams of elements that match, and don't match, the provided predicate.
1919
*/
20-
func partition(_ predicate: @escaping (E) -> Bool) -> (matches: SharedSequence<S, E>,
21-
nonMatches: SharedSequence<S, E>) {
20+
func partition(_ predicate: @escaping (Element) -> Bool) -> (matches: SharedSequence<SharingStrategy, Element>,
21+
nonMatches: SharedSequence<SharingStrategy, Element>) {
2222
let stream = self.map { ($0, predicate($0)) }
2323

2424
let hits = stream.filter { $0.1 }.map { $0.0 }

Source/RxCocoa/unwrap+SharedSequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ extension SharedSequence {
1616
- returns: A SharedSequence of non-optional elements
1717
*/
1818

19-
public func unwrap<T>() -> SharedSequence<S, T> where E == T? {
19+
public func unwrap<T>() -> SharedSequence<SharingStrategy, T> where Element == T? {
2020
return self.filter { $0 != nil }.map { $0! }
2121
}
2222
}

0 commit comments

Comments
 (0)