google/EarlGrey

Custom swipe action with Amount parameter

marcos-reboucas opened this issue · 0 comments

I have a custom UIView I want to swipe a few points in one direction. Default Earl Grey's swipe methods defined in GREYSwipeAction have only a 'duration' and 'percents' (for x and y origins) parameters, so threre's no control over how many points the view is swiped.

Wondering if there's a way to create a custom swipe action with an 'amount' parameter (in points) to achieve this in Objective-C just like in some Earl Grey's scroll methods?