GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

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?

3      

Hacking with Swift is sponsored by Essential Developer.

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until February 9th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

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.