I'm trying to change the cursor to a crosshair in SwiftUI on MacOS.
I've put the following code into the AppDelegate applicationDidFinishLaunching() function:
NSCursor.crosshair.set()
When the application loads, I see the cursor change to the crossHair, and then swap straight back to the standard pointer.
It would be great to hear what I'm doing wrong here.
Thanks all.
