WWDC24 SALE: Save 50% on all my Swift books and bundles! >>

Ultimate Portfolio Step 12: premature sorting action on sort button event

Forums > SwiftUI

At step 12 implementation, in the iPhone 12 Pro simulator (12.4) when I edit an item, e.g. changing priority or completion, after returning to the main list view, when I click the sort button a sort happens as the actionSheet comes into display.

In other words, as soon as the sort button is clicked the list rows reorder, even as the actionSheet is animating up in front.

I suspect this may be a similar issue to the "SOLVED: Ultimate Portfolio App: Editing a Project Dismiss immediately" topic in this forum, but I'm not sure. Anyone else seeing this?


Save 50% in my WWDC sale.

SAVE 50% To celebrate WWDC24, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.