evolv
evolv
TSDThe Swift Den
Created by evolv on 1/10/2024 in #swift-development
Xcode XML problem
No description
2 replies
TSDThe Swift Den
Created by evolv on 10/7/2023 in #swift-development
Uknown class view Controller
I have a code here, import UIKit class ViewController: UIViewController {


override func viewDidLoad() { super.viewDidLoad()
let firstPhrase: [String] = ["Plain Bagel", "Everything Bagel", "Sesame Bagel", "Rainbow Bagel", "Raisin Bagel"]
let secondPhrase: [String] = ["Plain Cream Cheese", "Lox Cream Chees", "Scallion Cream Cheese", "Jalapeño Cream Cheese", "Blueberry Cream Cheese"]
var phrase: String=firstPhrase.randomElement()! + " With " + secondPhrase.randomElement()!







} } my output says this: Unknown class ViewController in Interface Builder file. what should i change?
3 replies