TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Edit Projects View in Portfolio App Weird Behaviour

Forums > SwiftUI

I seem to have a strange bug when it comes to my EditProjectsView. Every time I try to edit the color or change the title or enter some text in the description, the view immediately dismisses as if I clicked the back button. I discovered this after I added the accessibilty modifiers. In looking at the EditItemsView, there is on the update() item.projects? Is there something similar I could add to EditProjectsView update method to maybe not dismiss the page whenever I attempt to edit the view? I am getting ready to re do the project from the begining, but would like to know if there might be a simple fix.



Allready be asked. Here and here.

No reasonable solution found so far.


Thanks, I was using an earlier version of xcode 12 back in October and November in which it was working. I upgraded to another beta. version and now I'm seeing the bug. Probably that same bug that caused the dreaded "yellow screen". Anyway, thanks for the reply, I can rest now until I change with another xcode version.


Hacking with Swift is sponsored by Superwall.

SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.

Learn More

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.