2.3.1 (Jan 8, 2021)
- Fixed
isStackOnBottomandstackedCardsCountnot working - thanks @stfnhdr.
2.3.0 (Oct 4, 2020)
- Added
cardForItemfunction toVerticalCardSwiper.
2.2.0 (Feb 23, 2020)
- Added
didCancelSwipefunction toVerticalCardSwiperDelegate.
- Fixed
swipeCardAwayProgrammaticallynot working correctly in some cases.
2.1.0 (Jan 31, 2020)
- Add
swipeCardAwayProgrammaticallyfunction 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
VerticalCardSwiperpropertyfocussedIndextofocussedCardIndex. - Renamed
VerticalCardSwiperpropertyisPreviousCardVisibletoisStackingEnabled. - Refactored
VerticalCardSwiperpropertyindexesForVisibleCardsto include stacked cards.‼️
- Added
isStackOnBottomproperty toVerticalCardSwiper. (#48) - thanks @stfnhdr - Added
stackedCardsCountproperty toVerticalCardSwiper. (#48) - thanks @stfnhdr
1.0.0 (Apr 9, 2019)
- Migrated from
Swift 4.2->Swift 5.0. scrollToCard(at: Int, animated: Bool) -> Boolnow returns a Boolean indicating if scrolling has failed or succeeded.
- Fixed crash in
scrollToCardwhen it was called before the view layout was properly set up. (#37) - thanks @geniegeist - Fixed
CardCellanimation glitch when changing alpha. (#43)
0.1.0 (Mar 13, 2019)
- Added
insertCardsfunction toVerticalCardSwiper. - Added
deleteCardsfunction toVerticalCardSwiper. - Added
moveCardfunction toVerticalCardSwiper. - Added
focussedIndexvariable toVerticalCardSwiper. - Improved UITests.
- Improved example.
- Cleaned up code and removed some force-unwrapping.
- Added Swiftlint.
0.1.0-beta7 (Jan 8, 2019)
- Moved
indexesForVisibleCardstoVerticalCardSwiper.
- Added
didEndScrollfunction toVerticalCardSwiperDelegate. - thanks @mkhakpaki - Added
scrollToCardfunction toVerticalCardSwiper. (#23) - Removed some force unwrapping in the code.
- Fixed nil crash when doing a swipe gesture on an empty
VerticalCardSwiper. - Fixed wrong
indexesForVisibleCardswhen only one card was present. - Fixed wrong bottom contentInset calculation.
0.1.0-beta6 (Nov 15, 2018)
- Added
indexesForVisibleCardstoVerticalCardSwiperView. - thanks @williamsthing - Changed
didTapCardto support unfocused cards. - thanks @williamsthing
- Fixed
didTapCardcrash. (thanks @williamsthing)
0.1.0-beta5 (Nov 12, 2018)
- Added
didTapCardanddidHoldCardtoVerticalCardSwiperDelegate. - thanks @williamsthing
0.1.0-beta4 (Oct 20, 2018)
- Migrated from Swift 4.1 to Swift 4.2.
- Renamed
CellSwipeDirectiontoSwipeDirection. - Removed unused
directionparameter 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
didScrollfunction toVerticalCardSwiperDelegate. - Changed
init(frame: CGRect)function to bepublic(instead of internal) insideVerticalCardSwiper. - Added small spring animation to
resetToCenterwhich 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
sizeForItemfunction toVerticalCardSwiperDelegate. - Added
cardSpacingproperty toVerticalCardSwiper. - Added
firstItemTransformproperty toVerticalCardSwiper. - Updated example.
0.1.0-beta1 (Jun 21, 2018)
- renamed
CardSwiperViewtoVerticalCardSwiperView.
- Added
willSwipeCardAwayfunction toVerticalCardSwiperDelegate. - Added
reloadData()function toVerticalCardSwiper. - Added iPad support.
- Added changelog.
- Updated documentation.
- Cleaned up project.
0.1.0-alpha2 (Jun 17, 2018)
- Simplified
endedPanAnimationfunction 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.