I always create a spinner with NSProgressIndicator like this
let spinner = NSProgressIndicator()
spinner.style = .spinning
It works fine, but I recently found the NSProgressIndicator.Style.spinning is deprecated. I have went searched around, but did not quite find out what is the recommended way right now to create a spinner on macOS. Can anyone please help here?
Thank you
It looks like an error in the documentation. In macOS 10.15
NSProgressIndicatorBarStyleandNSProgressIndicatorSpinningStyleare deprecated. SomehowNSProgressIndicatorStyleBarandNSProgressIndicatorStyleSpinning,.barand.spinningin Swift, were also deprecated in the documentation but they aren't in NSProgressIndicator.h.and