Posts

Post marked as solved
9 Replies
11k Views
Hello, community, I've been having some issues lately with XCode (I'm am an absolute beginner in coding with swift and in developing apps). I have seen multiple tutorials and everyone seems to have a ViewController.swift file over or under their LaunchScreen.storyboard. When i try to drag buttons, labels, etc. to the assistant editor, i only have a UIViewController.h file, which cant be edited. As soon as i "created" a pseudo-ViewController.swift file of my own to replace the UIViewController.h file so that i could actually alter some functions, XCode began to have critical erros.Images: 1) This occurs as soon as i replace the UIViewController.h file 2) The start of a fresh new app (no viewcontroller.swift file) 3) If i check "Use as Launch Screen" the second error occurs 4) second error 5) When i check "is initial view Controller the third error occurs 6) third errorI just want to be able to make an app, but this problem is proving to be rather difficult for me. If someone could tell me how to replace the UIViewController.h file with the normal ViewController.swift file, i would greatly appreciate it. As i am a beginner, i would also need a simplfied explaination to resolving the issue. Thank you very much!
Posted Last updated
.