KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.
out of bounds
crashesoverlayStrength
in OverlayView
is deprecated in favor of func updateWithProgress(percentage: CGFloat)
This version bring major changes:
Some of delegate methods were changed:
func koloda(koloda: KolodaView, didSwipedCardAtIndex index: UInt, inDirection direction: SwipeResultDirection)
func koloda(kolodaDidRunOutOfCards koloda: KolodaView)
func koloda(kolodaShouldApplyAppearAnimation koloda: KolodaView) -> Bool
func koloda(kolodaShouldMoveBackgroundCard koloda: KolodaView) -> Bool
func koloda(kolodaShouldTransparentizeNextCard koloda: KolodaView) -> Bool
func koloda(koloda: KolodaView, draggedCardWithFinishPercent finishPercent: CGFloat, inDirection direction: SwipeResultDirection)
func koloda(kolodaDidResetCard koloda: KolodaView)
func koloda(kolodaSwipeThresholdMargin koloda: KolodaView) -> CGFloat?
to
func koloda(koloda: KolodaView, didSwipeCardAtIndex index: UInt, inDirection direction: SwipeResultDirection)
func kolodaDidRunOutOfCards(koloda: KolodaView)
func kolodaShouldApplyAppearAnimation(koloda: KolodaView) -> Bool
func kolodaShouldMoveBackgroundCard(koloda: KolodaView) -> Bool
func kolodaShouldTransparentizeNextCard(koloda: KolodaView) -> Bool
func koloda(koloda: KolodaView, draggedCardWithPercentage finishPercentage: CGFloat, inDirection direction: SwipeResultDirection)
func kolodaDidResetCard(koloda: KolodaView)
func kolodaSwipeThresholdMargin(koloda: KolodaView) -> CGFloat?
func koloda(kolodaBackgroundCardAnimation koloda: KolodaView) -> POPPropertyAnimation?
was removed
currentCardNumber
was renamed to currentCardIndex