Created
November 11, 2017 14:59
-
-
Save pgpt10/72cd028c53962a5c9b2ae34e4ac7fbf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func collectionView(_ collectionView: UICollectionView, dragPreviewParametersForItemAt indexPath: IndexPath) -> UIDragPreviewParameters? | |
| { | |
| let previewParameters = UIDragPreviewParameters() | |
| previewParameters.visiblePath = UIBezierPath(rect: CGRect(x: 25, y: 25, width: 120, height: 120)) | |
| return previewParameters | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment