I inherited an app to work on and the previous engineers didn’t use the storyboard and instead hard coded everything in. Now I’m at the point where I’m I have to change format and placement of items in the app and I feel it would be much easier to use the storyboard. Is their a way to use the storyboard still and have it display the stuff that is hard coded in the app right now?
I’ve attached images of me right clicking the storyboard and trying to the interface builder but nothing happens when I click it. Also I attached a photo of a code snippet that the other engineers claimed to have gotten rid of the need for a storyboard in the AppDelegate
. I tried commenting out the line of code and when I do, the app is just a black screen.
The code in question reads:
var window: UIWindow?
window = UIWindow(frame: UIScreen.main.bounds)
window?.makeKeyAndVisible()