Problem Editor placeholder in source file

Hi again :wave:t2:
I am trying to add an image but when I click on Run
This message appears
I tried to return the code and clean the application
Delete the code and write it again
But it appears that there is an error

and very very thank
You are heroes of programming :heart_eyes::heart_eyes:


I am guessing the image you are trying to place is sticker that you pasted in or something similar?


UIImage(named: "௹") //or whatever it was


NO ,
just I just called up

I did not stick

That’s an image literal indicator which is not unusual. If you have images in your assets folder you can double click on that literal and select the image you require.

Otherwise your code should be something like this if you wanted to use the image name :

let imageView = UIImageView(image: UIImage(named: "yourbearimage"))

thanks :two_hearts:

  • TOM :fairy:‍♂