Post

Replies

Boosts

Views

Created

HOW DO I LOAD AN APPS DATA FROM PREVIEW?!?! [URGENT]
I accidentally deleted an Xcode project from my mac, Like emptied the trash and everything and I dont know how to recover it. I opened a new project and previewed and saw the app still in the preview with all the other apps Ive made in the past. How do I transfer the apps data to a new project, this is urgent so please respond with any advice!
2
0
609
Mar ’23
How do I switch ViewControllers from a Button?
I just started learning Swift UI and have been Introduced into XCODE a few days ago. I am able to make a couple things thanks to my past experience but I'm very confused on how to switch Screens on a Button click. There are posts saying those screens are called "ViewControllers" so thats how I am referencing them now. This is urgent so all help is appreciated.
2
0
669
Feb ’23
Why does this create 2 tabs in the Preview Panel?
Everything was going fine after i set the background Color, after I added a Button it created another Tab in the Preview Panel which I dont want. I want the button to be on top since all i did was set the background Color. Im new to XCode so Articles/Videos would be helpful Swift Script: struct HomeScreen: View {   var body: some View {     Color.accentColor       .ignoresSafeArea()           Button(/*@START_MENU_TOKEN@*/"Button"/*@END_MENU_TOKEN@*/) {       /*@START_MENU_TOKEN@*//*@PLACEHOLDER=Action@*/ /*@END_MENU_TOKEN@*/     }         } }
1
0
316
Jan ’23