Skip to content

Instantly share code, notes, and snippets.

@larssondaniel
Created April 2, 2017 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larssondaniel/facd41480b106a94c5fbded1824ee3ef to your computer and use it in GitHub Desktop.
Save larssondaniel/facd41480b106a94c5fbded1824ee3ef to your computer and use it in GitHub Desktop.
- (void)viewDidLoad
{
[super viewDidLoad];
self.panGestureRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handlePan:)];
[self.view addGestureRecognizer:self.panGestureRecognizer];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment