Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSProgress resume after calling pause

NSProgress allows work to be cancelled or resumed by the user. You pause an NSProgress object by calling pause on it.

How do you resume a paused NSProgress object? The documentation for NSProgress doesn't actually mention resuming. WTF?

like image 576
Eric Avatar asked Jan 22 '26 05:01

Eric


1 Answers

NSProgress is about progress reporting and allowing user to cancel.

All that happens in that case is that your pausingHandler is called, which should specify:
The block to invoke when progress is paused.

If you actually pause is up to you.

like image 157
Jay Avatar answered Jan 23 '26 19:01

Jay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!