Merge branch 'develop' into swift-3.0
This commit is contained in:
commit
c844b6bdb3
|
|
@ -46,7 +46,7 @@ All of these various systems makes our code needlessly complex. Wouldn't it be b
|
|||
|
||||
`--tap--tap----------tap--> // "|" = Continues indefinitely, such as a sequence of button taps`
|
||||
|
||||
> These diagrams are call marble diagrams. You can learn more about them at [RxMarbles.com](http://rxmarbles.com).
|
||||
> These diagrams are called marble diagrams. You can learn more about them at [RxMarbles.com](http://rxmarbles.com).
|
||||
*/
|
||||
/*:
|
||||
### Observables and observers (aka subscribers)
|
||||
|
|
|
|||
|
|
@ -1727,6 +1727,7 @@
|
|||
C8C4B4C01C17727000828BD5 /* MessageSentObserver.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MessageSentObserver.swift; sourceTree = "<group>"; };
|
||||
C8D132431C42D15E00B59FFF /* SectionedViewDataSourceType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SectionedViewDataSourceType.swift; sourceTree = "<group>"; };
|
||||
C8D132521C42DA7F00B59FFF /* SectionedViewDataSourceMock.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SectionedViewDataSourceMock.swift; sourceTree = "<group>"; };
|
||||
C8D2C1501D4F3CD6006E2431 /* Rx.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Rx.playground; sourceTree = "<group>"; };
|
||||
C8DB967D1BF7496C0084BD53 /* KVORepresentable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = KVORepresentable.swift; sourceTree = "<group>"; };
|
||||
C8DB96821BF754C80084BD53 /* NSObject+Rx+KVORepresentable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSObject+Rx+KVORepresentable.swift"; sourceTree = "<group>"; };
|
||||
C8DB96871BF756F40084BD53 /* KVORepresentable+CoreGraphics.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "KVORepresentable+CoreGraphics.swift"; sourceTree = "<group>"; };
|
||||
|
|
@ -2529,6 +2530,7 @@
|
|||
C8A56ACD1AD7424700B4673B = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
C8D2C1501D4F3CD6006E2431 /* Rx.playground */,
|
||||
C8093C471B8A72BE0088E94D /* RxSwift */,
|
||||
C8093F571B8A73A20088E94D /* RxBlocking */,
|
||||
C8093E801B8A732E0088E94D /* RxCocoa */,
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ extension UITableView {
|
|||
Reactive wrapper for `delegate` message `tableView:willDisplayCell:forRowAtIndexPath:`.
|
||||
*/
|
||||
public var rx_willDisplayCell: ControlEvent<WillDisplayCellEvent> {
|
||||
let source: Observable<DidEndDisplayingCellEvent> = rx_delegate.observe(#selector(UITableViewDelegate.tableView(_:willDisplay:forRowAt:)))
|
||||
let source: Observable<WillDisplayCellEvent> = rx_delegate.observe(#selector(UITableViewDelegate.tableView(_:willDisplay:forRowAt:)))
|
||||
.map { a in
|
||||
return (try castOrThrow(UITableViewCell.self, a[1]), try castOrThrow(IndexPath.self, a[2]))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@ class FilterSink<O : ObserverType>: Sink<O>, ObserverType {
|
|||
typealias Predicate = (Element) throws -> Bool
|
||||
typealias Element = O.E
|
||||
|
||||
typealias Parent = Filter<Element>
|
||||
|
||||
private let _predicate: Predicate
|
||||
|
||||
init(predicate: Predicate, observer: O) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue