Did you happen to figure out how to show a toggle sidebar button on macOS with SwiftUI?
Post
Replies
Boosts
Views
Activity
Even in the Fruta example, if you collapse the sidebar on the Mac by dragging it all the way left, there's no way to get it back. How does one show the toggleSidebar button on macOS using SwiftUI?
Did you resolve this? I have same issue.
Did you resolve this? I have same question.
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.
Xcode 12.5 beta 3 seems to have resolved this issue.
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.
Confirming that this is still an issue in Xcode 13.0 beta 3.