Skip to content

Instantly share code, notes, and snippets.

@cjinghong
Created November 13, 2017 07:50
Show Gist options
  • Save cjinghong/c91ab5bdb353de974b68da8f5f16f297 to your computer and use it in GitHub Desktop.
Save cjinghong/c91ab5bdb353de974b68da8f5f16f297 to your computer and use it in GitHub Desktop.
let panGesture = UIPanGestureRecognizer(target: self, action: #selector(handlePan(_:)))
self.view.addGestureRecognizer(panGesture)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment