CodePudding user response:
In the image you posted, you defined:
@IBOutlet var ImageView: [UIImageView]!
but then you try to reference it with a lower-case i
:
imageView = ballArray...
As a side note, even correcting to an upper-case i
you'll get an error, because you've defined ImageView
as an array of image views, but you're code trying to assign one image view to it (from your ballArray
).