The only odd thing I'm seeing now is that it animates indeterminately until completedUnitCount is set to a new value. I believe this was basically an aesthetic design choice intended to minimize the fairly common issue where initial setup delays mean that progress stalls briefly at just starting, THEN starts moving at a steadier clip (as your app actually starts doing work). Any ideas to prevent the indeterminate state from always showing determinate progress? I'm not afraid of applying a bit of brute force, so I'd probably set it to 0 then set it to 1. You can also set totalUnitCount to 101 if you don't like how that loses a number. I'll also note that the correct value for totalUnitCount is often better determined by how well you can divide up your progress and what results in smooth looking progress, NOT the work your actually doing. This is very much a situation where everything is made up and the points don't matter. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: