I think the proper way to get the direction is through the velocity.

Relying on translation can cause a delay in catching the interaction.
Also related to Issue 9.
Cards with direction. Horizontal swipe interaction controller reports direction too.
Introduces cancelOnDirectionChange. Cancels an interaction when the swipe direction has changed, and the controller that we’re wired to is now moving in the opposite direction than when the gesture first started
Restore the original order and opacity of the view controllers when interactive transition is cancelled
CECardsAnimationController now supports insetting the presented view and adjusting the opacity and scale of the presenting view after presentation. Also fixes bugs that caused the presenting view to animate from the wrong starting position from where it went on presentation.
Fixes bug where the presenting layer on rotation could partially appear atop presented layer when dismissing the presented layer
Change the zPosition to a depth of 1000 to prevent larger rotation from overlapping
[ADDED] Cube animation
[BUG] Interaction issue in Cube navigation solved
A bit of tidy up
Merge pull request #15 from devangmundhra/master

Use velocity to get direction for a pan gesture.
Merge pull request #16 from junjie/master

Fixes bugs where cancelling an interactive presentation/dismissal causes...
Formatting fixes
Added documentation for the cube animation
Merge commit '3714bf76267c1b06e13630854cdd0d17d3d0fa58' into cardswithdirection
Silenced warning for 64-bit builds