From 4dfd60084d2abd0fc01c8c076bd621a53b587f6e Mon Sep 17 00:00:00 2001 From: JoniVR Date: Sun, 4 Oct 2020 16:02:18 +0200 Subject: [PATCH] Release 2.3.0 --- CHANGELOG.md | 10 ++++++++ README.md | 5 ++++ VerticalCardSwiper.podspec | 2 +- VerticalCardSwiper.xcodeproj/project.pbxproj | 4 +++- .../xcshareddata/xcschemes/Example.xcscheme | 24 ++++++++----------- .../xcshareddata/xcschemes/UITests.xcscheme | 15 +----------- .../xcschemes/VerticalCardSwiper.xcscheme | 6 +---- 7 files changed, 31 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c1475..d5561ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## [2.3.0](https://github.com/JoniVR/VerticalCardSwiper/releases/tag/2.3.0) (Oct 4, 2020) + +#### Enhancements + +- Added `cardForItem` function to `VerticalCardSwiper`. + +#### Bug fixes + +- Fixed scale animation to transform both x and y values ([#76](https://github.com/JoniVR/VerticalCardSwiper/pull/76)) - thanks [@elfanek](https://github.com/elfanek). + ## [2.2.0](https://github.com/JoniVR/VerticalCardSwiper/releases/tag/2.2.0) (Feb 23, 2020) #### Enhancements diff --git a/README.md b/README.md index 3e6354e..883c337 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,11 @@ cardSwiper.focussedCardIndex cardSwiper.scrollToCard(at: Int, animated: Bool) -> Bool ``` +##### Get a card at a specified index +```swift +cardSwiper.cardForItem(at: Int) -> CardCell? +``` + ##### Swipe a card away programatically ```swift cardSwiper.swipeCardAwayProgrammatically(at: Int, to: SwipeDirection, withDuration: TimeInterval = 0.3) -> Bool diff --git a/VerticalCardSwiper.podspec b/VerticalCardSwiper.podspec index 45be952..86401a5 100644 --- a/VerticalCardSwiper.podspec +++ b/VerticalCardSwiper.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'VerticalCardSwiper' - s.version = '2.2.0' + s.version = '2.3.0' s.summary = 'A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift.' # This description is used to generate tags and improve search results. diff --git a/VerticalCardSwiper.xcodeproj/project.pbxproj b/VerticalCardSwiper.xcodeproj/project.pbxproj index e6d7a33..5f6fff3 100644 --- a/VerticalCardSwiper.xcodeproj/project.pbxproj +++ b/VerticalCardSwiper.xcodeproj/project.pbxproj @@ -270,7 +270,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1000; - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1200; ORGANIZATIONNAME = "Joni Van Roost"; TargetAttributes = { 6C51A10F209E6D6900B83A82 = { @@ -557,6 +557,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -617,6 +618,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; diff --git a/VerticalCardSwiper.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/VerticalCardSwiper.xcodeproj/xcshareddata/xcschemes/Example.xcscheme index 9186798..37d2f4e 100644 --- a/VerticalCardSwiper.xcodeproj/xcshareddata/xcschemes/Example.xcscheme +++ b/VerticalCardSwiper.xcodeproj/xcshareddata/xcschemes/Example.xcscheme @@ -1,6 +1,6 @@ + + + + @@ -39,17 +48,6 @@ - - - - - - - - - - - - - - - - - - - -