Hi,
What is the corresponding constant of NSURLPboardType in Swift 4?
My collectionview stop accepting finder file drops because I can't find a correct draggingTypes in swift 4.
Currently, I use the rawValue as a workaround:
self.collectionView.registerForDraggedTypes([NSPasteboard.PasteboardType("Apple URL pasteboard type")])
Anyone knows what's the correct way to make my collection view accept finder file drop in swift 4?
Thanks!