Select Page

Image Literal

//        diceImageView1.image = #imageLiteral(resourceName: “DiceThree”) //        diceImageView2.image = #imageLiteral(resourceName: “DiceFour”)

Making IBOutlet for Images

To make an “Interface Builder Outlet” (IBOutlet), CTRL + click and drag the image ABOVE viewDidLoad and BELOW “class ViewController” This allows for giving a button an interface NAME so things like buttons can interact and change...