Posts

Post marked as solved
1 Replies
Here's the solution, via -> https://stackoverflow.com/questions/73422048/enable-undo-coredata-swiftui @Environment(\.undoManager) var undoManager // ... var body: some View { // ... .onAppear { viewContext.undoManager = undoManager } }
Post not yet marked as solved
1 Replies
Does not seem doable in SwiftUI as of macOS 12. Will see what's announced in the next WWDC.
Post not yet marked as solved
1 Replies
I've tried everything I can think of, I've improved a couple of things on the plist but still no progress.<key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>XML</string> <key>LSHandlerRank</key> <string>Alternate</string> <key>UTTypeConformsTo</key> <array> <string>public.xml</string> </array> <key>UTTypeDescription</key> <string>OPML</string> <key>UTTypeIdentifier</key> <string>org.opml.opml</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>opml</string> </array> </dict> </dict> </array>Any ideas appreciated!Thanks a million in advance!