There’s a mother or father progress that has a complete unit depend of 1000 models. A baby progress was added with pending unit depend 1000. When the kid progress’ accomplished unit depend is up to date, then the fraction accomplished of the mother or father is up to date, however the accomplished unit depend is just not.
Submitted as Apple Suggestions FB9803982. The lovely pattern app can be discovered on my RadarSamples repo.
Steps to Reproduce
- run the connected Pattern App on iPhone Simulator
- Drag the slider slowly to the proper. Discover that solely the mother or father’s fraction accomplished modifications.
- Proceed dragging the slider to the proper most. Discover that whenever you come to the proper aspect of the slider the mother or father’s accomplished depend is up to date.
- Drag the slider a bit to the left. Once more, solely the mother or father’s fraction is up to date.
- Drag the slider to the proper most. The mother or father’s accomplished unit depend is now double what it needs to be. The truth is each time the kid completes, 1000 is added to the mother or father’s accomplished unit depend.
Anticipated Habits
When including a toddler progress with a pendingUnitCount worth higher than 1, then the completedUnitCount must also be up to date in tandem with the fractionCompleted worth.
Precise Habits
Solely the fraction accomplished of the mother or father is up to date. When the kid reaches 100%, the pending worth is added to the finished unit depend. If the progress reverses for some cause, the finished unit depend stays and when the kid will get again to 100% the pending worth is AGAIN added.

Additionally printed on Medium.
Associated
Classes: Bug Stories