From 7cffa29c7f1bbacc5ee56a1ae9bd0760d5be9279 Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 15 Apr 2020 15:25:04 +0300 Subject: [PATCH 1/4] =?UTF-8?q?[Add]=20@discardableResult=20to=20func=20re?= =?UTF-8?q?place(with=20section=E2=80=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TableKit/TableDirector/TableDirector+Extensions.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift b/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift index 8a874952..150447ac 100644 --- a/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift +++ b/Sources/Extensions/TableKit/TableDirector/TableDirector+Extensions.swift @@ -230,6 +230,7 @@ public extension TableDirector { /// - animation: The type of replace animation /// - manualBeginEndUpdates: Don't call beginUpdates() & endUpdates() inside. /// - Returns: self + @discardableResult func replace(with section: TableSection, at index: Int, with animation: UITableView.RowAnimation, From d8868d1acac7c7d9382e49d2b8b1938629789a22 Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 15 Apr 2020 15:32:00 +0300 Subject: [PATCH 2/4] Update changelog and podspec --- CHANGELOG.md | 3 +++ LeadKit.podspec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcb40511..f1516931 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### 0.9.31 +- **Add**: `@discardableResult` to method - `replace(with:at:with:manualBeginEndUpdates)` in `TableDirector`. + ### 0.9.30 - **Add**: character `*` into a valid set of characters in the extension `telpromptURL` of String. diff --git a/LeadKit.podspec b/LeadKit.podspec index af2ee6ed..e136e676 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "LeadKit" - s.version = "0.9.30" + s.version = "0.9.31" 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" From a516deef00de6f4bbb90b39fc0c38cc1f3247e42 Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 15 Apr 2020 15:32:55 +0300 Subject: [PATCH 3/4] [Update] indent --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1516931..17fc0fdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog ### 0.9.31 -- **Add**: `@discardableResult` to method - `replace(with:at:with:manualBeginEndUpdates)` in `TableDirector`. +- **Add**: `@discardableResult` to method - `replace(with:at:with:manualBeginEndUpdates)` in `TableDirector`. ### 0.9.30 - **Add**: character `*` into a valid set of characters in the extension `telpromptURL` of String. From 0833982bf0713ea7c17cfa2afd1a70e4c1cc5ee0 Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 15 Apr 2020 15:34:18 +0300 Subject: [PATCH 4/4] [Update] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17fc0fdf..5529e2a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog ### 0.9.31 -- **Add**: `@discardableResult` to method - `replace(with:at:with:manualBeginEndUpdates)` in `TableDirector`. +- **Add**: `@discardableResult` to function - `replace(with:at:with:manualBeginEndUpdates)` in `TableDirector`. ### 0.9.30 - **Add**: character `*` into a valid set of characters in the extension `telpromptURL` of String.