Wednesday, February 8, 2023
HomeiOS DevelopmentBug: Progress with Youngster | Cocoanetics

Bug: Progress with Youngster | Cocoanetics


There’s a dad or mum 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 dad or mum is up to date, however the accomplished unit depend shouldn’t be.

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

Steps to Reproduce

  1. run the hooked up Pattern App on iPhone Simulator
  2. Drag the slider slowly to the appropriate. Discover that solely the dad or mum’s fraction accomplished adjustments.
  3. Proceed dragging the slider to the appropriate most. Discover that once you come to the appropriate aspect of the slider the dad or mum’s accomplished depend 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 appropriate most. The dad or mum’s accomplished unit depend is now double what it must be. In actual fact each time the kid completes, 1000 is added to the dad or mum’s accomplished unit depend.

Anticipated Habits

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

Precise Habits

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 depend. If the progress reverses for some motive, the finished unit depend stays and when the kid will get again to 100% the pending worth is AGAIN added.



Additionally revealed on Medium.


Classes: Bug Stories



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments