Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func dropInteraction(_ interaction: UIDropInteraction, performDrop session: UIDropSession) {
- session.loadObjects(ofClass: NSString.self) { item in
- DispatchQueue.main.async {
- label.text = item as NSString as String
- }
- }
- }
Add Comment
Please, Sign In to add comment