Skip to content

Commit

Permalink
Update sample to use new delegate methods
Browse files Browse the repository at this point in the history
  • Loading branch information
zen committed Feb 7, 2015
1 parent b85c832 commit 8af8cfe
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions ZLSwipeableViewDemo/ZLSwipeableViewDemo/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -100,23 +100,9 @@ - (void)actionSheet:(UIActionSheet *)actionSheet
#pragma mark - ZLSwipeableViewDelegate

- (void)swipeableView:(ZLSwipeableView *)swipeableView
didSwipeUp:(UIView *)view {
NSLog(@"did swipe up");
}

- (void)swipeableView:(ZLSwipeableView *)swipeableView
didSwipeDown:(UIView *)view {
NSLog(@"did swipe down");
}

- (void)swipeableView:(ZLSwipeableView *)swipeableView
didSwipeLeft:(UIView *)view {
NSLog(@"did swipe left");
}

- (void)swipeableView:(ZLSwipeableView *)swipeableView
didSwipeRight:(UIView *)view {
NSLog(@"did swipe right");
didSwipeView:(UIView *)view
inDirection:(ZLSwipeableViewDirection)direction {
NSLog(@"did swipe in direction: %zd", direction);
}

- (void)swipeableView:(ZLSwipeableView *)swipeableView
Expand Down

0 comments on commit 8af8cfe

Please sign in to comment.