11.4 C
Canberra
Saturday, July 26, 2025

Bug: Progress with Youngster | Cocoanetics


There’s a guardian 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 guardian is up to date, however the accomplished unit depend just isn’t.

Submitted as Apple Suggestions FB9803982. The lovely pattern app can 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 best. Discover that solely the guardian’s fraction accomplished modifications.
  3. Proceed dragging the slider to the best most. Discover that whenever you come to the best facet of the slider the guardian’s accomplished depend is up to date.
  4. Drag the slider a bit to the left. Once more, solely the guardian’s fraction is up to date.
  5. Drag the slider to the best most. The guardian’s accomplished unit depend is now double what it must be. Actually each time the kid completes, 1000 is added to the guardian’s accomplished unit depend.

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 guardian 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 Studies

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles