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?
1 Reply
aelfled
aelfled14mo ago
is it possible the file isn't added to the target?
Want results from more Discord servers?
Add your server