Skip to content

Instantly share code, notes, and snippets.

@paul1893
Last active January 2, 2018 13:16
Show Gist options
  • Save paul1893/0b7d395e07c585123b823459dcf84962 to your computer and use it in GitHub Desktop.
Save paul1893/0b7d395e07c585123b823459dcf84962 to your computer and use it in GitHub Desktop.
func tableView(_ tableView: UITableView, dragPreviewParametersForRowAt indexPath: IndexPath) -> UIDragPreviewParameters? {
let parameters = UIDragPreviewParameters()
parameters.visiblePath = yourCustomBezierPath
return parameters
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment