appbrewery / Dicee-iOS13

Learn to Code While Building Apps - The Complete iOS Development Bootcamp
https://www.appbrewery.co
614 stars 878 forks source link

Image Literals No Longer Autocomplete #15

Open ghost opened 2 years ago

ghost commented 2 years ago

If you are having difficulty getting image literals during the section of the class where you change the dice images in code, it's because Xcode 13 no longer autocompletes Image Literals. There is a quick workaround.

When you type diceImageView1.image = follow it with #imageLiteral(

As soon as you type the left parenthesis, it will autocomplete a image literal, that you can set according to the instructions in the video.

poskreepta commented 2 years ago

thanks!

brianail commented 2 years ago

Thanks :)

latosal commented 1 year ago

thanks a lot

SuZiVogue commented 1 year ago

thanks!

danakayone commented 3 months ago

thanks