Post

Replies

Boosts

Views

Activity

Reply to How to drag custom items in SwiftUI on macOS
I made just a couple of changes to the plist to get your sample to work: For the plist, my new fragment looks like this: <key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeIdentifier</key> <string>com.devian.sampleapp.customstring.dragdroptype</string> </dict> </array> And that's it, your code unmodified works now.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to @FocusedBinding
Any chance of this ("there's a bug in the seed that prevents sharing state between windows and the main menu") being resolved? As of macOS 11.1 beta 2, this still doesn't work.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’20