After I swiped a card the method func cardStack(_ cardStack: SwipeCardStack, didSwipeCardAt index: Int, with direction: SwipeDirection) of SwipeCardStackDelegate is called.
Printing topCardIndex property of SwipeCardStack object always returns 1, and for index always returns 0
After I swiped a card the method func cardStack(_ cardStack: SwipeCardStack, didSwipeCardAt index: Int, with direction: SwipeDirection) of SwipeCardStackDelegate is called.
Printing topCardIndex property of SwipeCardStack object always returns 1, and for index always returns 0