Tuesday, September 27, 2022
HomeiOS DevelopmentBug: Progress with Little one | Cocoanetics

Bug: Progress with Little one | Cocoanetics


There’s a dad or mum progress that has a complete unit rely of 1000 items. A toddler progress was added with pending unit rely 1000. When the kid progress’ accomplished unit rely is up to date, then the fraction accomplished of the dad or mum is up to date, however the accomplished unit rely isn’t.

Submitted as Apple Suggestions FB9803982. The stunning 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 fitting. Discover that solely the dad or mum’s fraction accomplished modifications.
  3. Proceed dragging the slider to the fitting most. Discover that while you come to the fitting facet of the slider the dad or mum’s accomplished rely is up to date.
  4. Drag the slider a bit to the left. Once more, solely the dad or mum’s fraction is up to date.
  5. Drag the slider to the fitting most. The dad or mum’s accomplished unit rely is now double what it needs to be. In truth each time the kid completes, 1000 is added to the dad or mum’s accomplished unit rely.

Anticipated Conduct

When including a toddler progress with a pendingUnitCount worth larger than 1, then the completedUnitCount also needs to be up to date in tandem with the fractionCompleted worth.

Precise Conduct

Solely the fraction accomplished of the dad or mum is up to date. When the kid reaches 100%, the pending worth is added to the finished unit rely. If the progress reverses for some motive, the finished unit rely stays and when the kid will get again to 100% the pending worth is AGAIN added.



Additionally printed on Medium.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular