Saturday, June 29, 2024
HomeiOS DevelopmentBug: Progress with Little one | Cocoanetics

Bug: Progress with Little one | Cocoanetics

[ad_1]

There’s a mum or dad progress that has a complete unit depend of 1000 items. 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 mum or dad is up to date, however the accomplished unit depend just isn’t.

Submitted as Apple Suggestions FB9803982. The lovely pattern app will also be discovered on my RadarSamples repo.

Steps to Reproduce

  1. run the connected Pattern App on iPhone Simulator
  2. Drag the slider slowly to the correct. Discover that solely the mum or dad’s fraction accomplished modifications.
  3. Proceed dragging the slider to the correct most. Discover that whenever you come to the correct aspect of the slider the mum or dad’s accomplished depend is up to date.
  4. Drag the slider a bit to the left. Once more, solely the mum or dad’s fraction is up to date.
  5. Drag the slider to the correct most. The mum or dad’s accomplished unit depend is now double what it ought to be. Actually each time the kid completes, 1000 is added to the mum or dad’s accomplished unit depend.

Anticipated Conduct

When including a baby progress with a pendingUnitCount worth better than 1, then the completedUnitCount must also be up to date in tandem with the fractionCompleted worth.

Precise Conduct

Solely the fraction accomplished of the mum or dad 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 purpose, the finished unit depend stays and when the kid will get again to 100% the pending worth is AGAIN added.



Additionally printed on Medium.


Classes: Bug Stories

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments