ZLSwipeableView icon indicating copy to clipboard operation
ZLSwipeableView copied to clipboard

default shouldSwipeView?

Open coolcool1994 opened this issue 8 years ago • 0 comments

Swipe version supports this already but when you set self.swipeableView.swipingDeterminator = self;

The default behavior of shouldSwipeView does not work anymore where you swipe a bit and the card would come back. How do you set this delegate as self and still somehow about to let that default handler handle the case if I return YES to shouldSwipeView delegate method.

  • (BOOL)shouldSwipeView:(UIView *)view movement:(ZLSwipeableViewMovement *)movement swipeableView:(ZLSwipeableView *)swipeableView { if (CardNotCompleted) { return NO; } return [DefaultHandler shouldSwipeView:(UIView *)view movement:(ZLSwipeableViewMovement *)movement swipeableView:(ZLSwipeableView *)swipeableView] ; }

coolcool1994 avatar Jun 30 '17 02:06 coolcool1994