Xcode 10 Release Notes: \"Code Completion for Swift image literals has been removed in Xcode 10\"
So it\'s not a bug that I couldn\'t ad
i'm using Xcode 10 beta 4 and i have the same problem ! Resolved using the old way to pass an image
PizzaModel( nome: "Marinara", ingredienti: "Pomodoro, Aglio", calorie: "729", img: UIImage(named: "marinara")! )