Cleanup (IOS-272)
This commit is contained in:
parent
58fdd39c2b
commit
d7ec60cff2
|
@ -6,12 +6,8 @@
|
|||
//
|
||||
|
||||
import UIKit
|
||||
import Combine
|
||||
|
||||
// ref: Texture.ASBatchFetchingDelegate
|
||||
final class ListBatchFetchViewModel {
|
||||
init() {}
|
||||
|
||||
static func scrollViewDidScrollToEnd(_ scrollView: UIScrollView, action: () -> Void) {
|
||||
if scrollView.isDragging || scrollView.isTracking { return }
|
||||
|
||||
|
@ -28,8 +24,3 @@ final class ListBatchFetchViewModel {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension ListBatchFetchViewModel {
|
||||
@available(*, deprecated, message: "Implement `UIScrollViewDelegate` and invoce `scrollViewdidScrollToEnd` for now.")
|
||||
func setup(scrollView: UIScrollView) {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue