Does anyone know how to configure a Catalyst app to not quit when the main window is closed? The latest beta version of the Podcast app handles this now. Any direction would be greatly appreciated.
Catalyst - How to prevent app quit on window close
Did you get anywhere with this? Scratching my header on it now
I found that I had to bridge to AppKit (see the highcaffeinecontent link above), then use a proxy to replace the window delegate and redirect the implementation of windowShouldClose: to a different object.
Which seems like a sledgehammer to crack a nut, but...
Checking in to see if anyone has found away to do this that doesn't involve having to link in AppKit.
Using AppKit windowShouldClose works when debugging in Xcode, but not when running in release mode on Big sure.
Does anyone know what's going on here?
Does anyone know what's going on here?