Joni Van Roost

Results 70 comments of Joni Van Roost

Hi, This is intended behaviour. The `didDragCard` method is called while you're dragging a card, so it's supposed to be called repeatedly. Depending on what you want to achieve exactly,...

Makes sense, do you have any suggestions? Perhaps we could add an extra `didDragCard` delegate method that returns a `dragOffset` indicating how far the card is relative to the center?...

You'd want to re-enable it when you dismiss the new ViewController right? Plenty of ways of doing that, you could use a delegate callback or notification (observer) to re-enable it...

Not currently, what you're currently doing (if I understand correctly) is relying on a bug (#22) to get the behaviour you want. It might be something we could add in...

The reason why it probably doesn't do anything is because `cards.count` probably is out of bounds (zero based index in array so you have to do `cards.count - 1`, the...

Apparently, using `UIView.animate()` doesn't work properly on a normal collectionview either. It has something to do with cell creation. Also, setting the animated parameter to false also doesn't execute the...

> * Create a cardView Height constraint Do you mean creating height constraints for objects inside the cardView? I would need some clarification on where exactly you are adding a...

So are you saying that the cards don't adapt their size right away once you swipe one away for the first time? So does adding the following line: ```swift cardSwiper.verticalCardSwiperView.layoutIfNeeded()...

Yes, I see it now, alright I'll look into what's causing this sometime when I get the time for it. If you find a solution yourself in the meantime, feel...

Hi @mohit196 Quick question, did you try my previous solution? If I call `cardSwiper.layoutIfNeeded()` after changing the constraint value it looks like it works to me? ```swift func didSwipeCardAway(card: CardCell,...