NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>

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?.objectWillChange.save(). 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.

Thanks,

   

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 Stream

SPONSORED Check out Stream's cross-platform open source chat SDK on GitHub! Write once and deploy your app with fully featured chat UI on iOS and macOS.

Go to GitHub

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

Reply to this topic…

You need to create an account or log in to reply.

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.