Dynamically cards managing
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