From 6a8f050e0cca3f286d9eb96f74e7ae23dcb03ca9 Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 24 Aug 2020 18:54:09 +0300 Subject: [PATCH 1/3] Fix PaginationWrapper multy requests --- .../DataLoading/PaginationDataLoading/PaginationWrapper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift b/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift index 3ce5984d..5861f444 100644 --- a/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift +++ b/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift @@ -202,7 +202,7 @@ final public class PaginationWrapper Date: Mon, 24 Aug 2020 19:00:58 +0300 Subject: [PATCH 2/3] Replace rx bindings with target --- .../PaginationWrapper.swift | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift b/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift index 5861f444..e15ec8f6 100644 --- a/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift +++ b/Sources/Classes/DataLoading/PaginationDataLoading/PaginationWrapper.swift @@ -202,12 +202,7 @@ final public class PaginationWrapper { - return Binder(self) { base, _ in - base.paginationViewModel.loadMore() - } - } - var scrollOffsetChanged: Binder { return Binder(self) { base, value in base.currentPlaceholderViewTopConstraint?.constant = -value.y From 2164d4fb3b06f15b8164713ebc24b7b58ab863ab Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 24 Aug 2020 19:16:53 +0300 Subject: [PATCH 3/3] Up version --- CHANGELOG.md | 3 +++ LeadKit.podspec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4608ac9b..e601bb15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### 0.9.40 +- **Fix**: Load more request repetion in `PaginationWrapper`. + ### 0.9.39 - **Add**: `Animatable` protocol to TIUIKitCore. - **Add**: `ActivityIndicator` protocol to TIUIKitCore. diff --git a/LeadKit.podspec b/LeadKit.podspec index a8dc1db2..67cee149 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.9.39" + s.version = "0.9.40" s.summary = "iOS framework with a bunch of tools for rapid development" s.homepage = "https://github.com/TouchInstinct/LeadKit" s.license = "Apache License, Version 2.0"