Skip to content

Commit 946c18e

Browse files
committed
Remove beginBatchFetch
1 parent 73d03c9 commit 946c18e

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

Sources/DataSources/RxProxies/RxASCollectionDelegateProxy.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,6 @@ public extension Reactive where Base: ASCollectionNode {
4747
return RxASCollectionDelegateProxy.proxyForObject(base)
4848
}
4949

50-
var beginBatchFetch: ControlEvent<ASBatchContext> {
51-
52-
let source = self.delegate
53-
.methodInvoked(#selector(ASCollectionDelegate.collectionNode(_:willBeginBatchFetchWith:)))
54-
.map { data in
55-
return try castOrThrow(ASBatchContext.self, data[1])
56-
}
57-
58-
return ControlEvent(events: source)
59-
}
60-
6150
/// Reactive wrapper for `delegate` message `collectionNode(_:didSelectItemAtIndexPath:)`.
6251
var itemSelected: ControlEvent<IndexPath> {
6352
let source = delegate.methodInvoked(#selector(ASCollectionDelegate.collectionNode(_:didSelectItemAt:)))

Sources/DataSources/RxProxies/RxASTableDelegateProxy.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ public extension Reactive where Base: ASTableNode {
4141
return RxASTableDelegateProxy.proxyForObject(base)
4242
}
4343

44-
var beginBatchFetch: ControlEvent<ASBatchContext> {
45-
46-
let source = self.delegate
47-
.methodInvoked(#selector(ASTableDelegate.tableNode(_:willBeginBatchFetchWith:)))
48-
.map { data in
49-
return try castOrThrow(ASBatchContext.self, data[1])
50-
}
51-
52-
return ControlEvent(events: source)
53-
}
54-
5544
// Event
5645
/**
5746
Reactive wrapper for `delegate` message `tableNode:didSelectRowAtIndexPath:`.

0 commit comments

Comments
 (0)