I've reported this about 3 months ago, as NSOpenPanel() displayed nothing, but acted as if the user pressed cancel. No response. My app is SwiftUI in Xcode 13.3.1 with app targeted for MacOS Monterey 12.3. Just - doesn't - work.
It's sad that SwiftUI doesn't have an equivalent for Open/Save panels. Online docs suggest using Apple's doc interface, but that doesn't apply to all apps. I've had this issue for ≈18 months, still unresolved.
I've reported this about 3 months ago, as NSOpenPanel() displayed nothing, but acted as if the user pressed cancel. No response. My app is SwiftUI in Xcode 13.3.1 with app targeted for MacOS Monterey 12.3. Just - doesn't - work.
It's sad that SwiftUI doesn't have an equivalent for Open/Save panels. Online docs suggest using Apple's doc interface, but that doesn't apply to all apps. I've had this issue for ≈18 months, still unresolved.