Hello, I'm pretty new to coding. I have taken some lessons and now trying to apply the knowledge into making my very own app. I'm running into a problem now where the line of code below starting with "MainImage *imageView" is getting an error stating:
"Incompatible pointer type initializing 'MainImage *' with an expression type 'NSArray*' "
thanks!
"Incompatible pointer type initializing 'MainImage *' with an expression type 'NSArray*' "
thanks!
Code:
-(void)updateGamePlay {
MainImage *imageView = self.mainImages;
self.mainImageView.image = imageView.mainImage;
}
Last edited by a moderator: