NSProgress with KVO-based Finish Callbacks
Here’s NSProgress
subclass that allows block-based callbacks for finishing the progress in a new callback called finishHandler
that should work the same as the existing handlers. By default NSProgress
(or with Swift just Progress
) comes with handlers for resumeing, pausing, and cancellation events, but not for finishing. I don’t know why.