2.3.1 (Jan 8, 2021)
- Fixed
isStackOnBottom
andstackedCardsCount
not working - thanks @stfnhdr.
2.3.0 (Oct 4, 2020)
- Added
cardForItem
function toVerticalCardSwiper
.
2.2.0 (Feb 23, 2020)
- Added
didCancelSwipe
function toVerticalCardSwiperDelegate
.
- Fixed
swipeCardAwayProgrammatically
not working correctly in some cases.
2.1.0 (Jan 31, 2020)
- Add
swipeCardAwayProgrammatically
function toVerticalCardSwiper
. - Add official Carthage support.
- Update SPM support to 5.1.
2.0.1 (Aug 19, 2019)
- Fixed paging algorithm not accounting for zero velocity.
2.0.0 (Jun 21, 2019)
- Renamed
VerticalCardSwiper
propertyfocussedIndex
tofocussedCardIndex
. - Renamed
VerticalCardSwiper
propertyisPreviousCardVisible
toisStackingEnabled
. - Refactored
VerticalCardSwiper
propertyindexesForVisibleCards
to include stacked cards.‼️
- Added
isStackOnBottom
property toVerticalCardSwiper
. (#48) - thanks @stfnhdr - Added
stackedCardsCount
property toVerticalCardSwiper
. (#48) - thanks @stfnhdr
1.0.0 (Apr 9, 2019)
- Migrated from
Swift 4.2
->Swift 5.0
. scrollToCard(at: Int, animated: Bool) -> Bool
now returns a Boolean indicating if scrolling has failed or succeeded.
- Fixed crash in
scrollToCard
when it was called before the view layout was properly set up. (#37) - thanks @geniegeist - Fixed
CardCell
animation glitch when changing alpha. (#43)
0.1.0 (Mar 13, 2019)
- Added
insertCards
function toVerticalCardSwiper
. - Added
deleteCards
function toVerticalCardSwiper
. - Added
moveCard
function toVerticalCardSwiper
. - Added
focussedIndex
variable toVerticalCardSwiper
. - Improved UITests.
- Improved example.
- Cleaned up code and removed some force-unwrapping.
- Added Swiftlint.
0.1.0-beta7 (Jan 8, 2019)
- Moved
indexesForVisibleCards
toVerticalCardSwiper
.
- Added
didEndScroll
function toVerticalCardSwiperDelegate
. - thanks @mkhakpaki - Added
scrollToCard
function toVerticalCardSwiper
. (#23) - Removed some force unwrapping in the code.
- Fixed nil crash when doing a swipe gesture on an empty
VerticalCardSwiper
. - Fixed wrong
indexesForVisibleCards
when only one card was present. - Fixed wrong bottom contentInset calculation.
0.1.0-beta6 (Nov 15, 2018)
- Added
indexesForVisibleCards
toVerticalCardSwiperView
. - thanks @williamsthing - Changed
didTapCard
to support unfocused cards. - thanks @williamsthing
- Fixed
didTapCard
crash. (thanks @williamsthing)
0.1.0-beta5 (Nov 12, 2018)
- Added
didTapCard
anddidHoldCard
toVerticalCardSwiperDelegate
. - thanks @williamsthing
0.1.0-beta4 (Oct 20, 2018)
- Migrated from Swift 4.1 to Swift 4.2.
- Renamed
CellSwipeDirection
toSwipeDirection
. - Removed unused
direction
parameter frominternal func endedPanAnimation(withDirection direction: PanDirection, angle: CGFloat)
. - Removed
animateIn()
function fromVerticalCardSwiperView
.
- Added Shazam card stack effect (thanks @VladIacobIonut).
- Added function
didDragCard(cell: CardCell, swipeDirection: SwipeDirection)
toVerticalCardSwiperDelegate
. - General stability and code improvements.
- Fixed crash when swiping away all cards (reaching end).
- Fixed visual glitch that would sometimes occur when adding cards (preparation for future support).
0.1.0-beta3 (Jun 29, 2018)
- Added
didScroll
function toVerticalCardSwiperDelegate
. - Changed
init(frame: CGRect)
function to bepublic
(instead of internal) insideVerticalCardSwiper
. - Added small spring animation to
resetToCenter
which results in a small bouncy effect depending on how far you drag. - Changed some example code to use
init(frame: CGRect)
.
- Fixed possible nil crash in rare occasions when swiping.
- Fixed animation glitch when scrolling cards while card was animating off screen.
- Fixed cards zPosition bug which caused bottom card to overlap top card in some occasions.
0.1.0-beta2 (Jun 26, 2018)
- Added
sizeForItem
function toVerticalCardSwiperDelegate
. - Added
cardSpacing
property toVerticalCardSwiper
. - Added
firstItemTransform
property toVerticalCardSwiper
. - Updated example.
0.1.0-beta1 (Jun 21, 2018)
- renamed
CardSwiperView
toVerticalCardSwiperView
.
- Added
willSwipeCardAway
function toVerticalCardSwiperDelegate
. - Added
reloadData()
function toVerticalCardSwiper
. - Added iPad support.
- Added changelog.
- Updated documentation.
- Cleaned up project.
0.1.0-alpha2 (Jun 17, 2018)
- Simplified
endedPanAnimation
function and made it internal instead of public.
- Added UITests.
- Updated some documentation.
- Fixed swipe bug where swiping left was easier (required less distance) than swiping right.
0.1.0-alpha1 (Jun 12, 2018)
- Initial release.
- Cocoapods release.