Created
November 16, 2017 10:25
-
-
Save icanswiftabit/24d96bdb37da07f63be42c8fd934fe45 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 dropInteraction(_ interaction: UIDropInteraction, canHandle session: UIDropSession) -> Bool { | |
return session.hasItemsConforming(toTypeIdentifiers: [kUTTypePlainText as String]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment