David Bureš on Nostr: I have a question for SwiftUI (macOS) people: Am I missing something, or is there no ...
I have a question for SwiftUI (macOS) people:
Am I missing something, or is there no way to register a view as a drop destination for a built-in system UTType? I don't want to declare any custom UTTypes, I just want to be able to drag the `.commaSeparatedText` system UTType into my app to load it.
I'm trying to use some of the newer APIs (like `.dropDestination`), because I don't want to deal with file providers.
#SwiftUI
Am I missing something, or is there no way to register a view as a drop destination for a built-in system UTType? I don't want to declare any custom UTTypes, I just want to be able to drag the `.commaSeparatedText` system UTType into my app to load it.
I'm trying to use some of the newer APIs (like `.dropDestination`), because I don't want to deal with file providers.
#SwiftUI