Based on a425bfddc60ea10ed3f8a971bcdcc49d7b80761e from #16, this pull request adds a way to customize swipe distance ratio that is used to decide how far the user has to swipe before gesture callbacks can be executed. The default value stays at 80%.
Example
// Gesture callbacks will be executed when user reveals 50% of the background view and releases the finger
swipeView.activationDistanceRatio = 0.5f
Based on a425bfddc60ea10ed3f8a971bcdcc49d7b80761e from #16, this pull request adds a way to customize swipe distance ratio that is used to decide how far the user has to swipe before gesture callbacks can be executed. The default value stays at 80%.
Example