Koloda Versions Save

KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.

4.3.1

6 years ago

4.3

6 years ago

4.1

7 years ago

4.0

7 years ago
  • Add swift 3 support
  • Get rid of UInt
  • Common bugfix

3.1.2

7 years ago
  • Fixed several out of bounds crashes
  • overlayStrength in OverlayView is deprecated in favor of func updateWithProgress(percentage: CGFloat)
  • Minor refactoring

3.1.1

7 years ago
  • Multiple Directions Support
  • Delegate methods for swipe disabling

3.0.0

8 years ago

This version bring major changes:

  • Ability to dynamically insert/delete/reload specific cards
  • External animator
  • Major refactoring
  • Swift 2.2 support

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