Welcome to the Treehouse Community
Looking to learn something new?
IBOuletCollection not connecting to images. (Objecive-C)
So I have 12 Image views in my first ViewController, and I created a IBOutletCollection property to connect all the images to the same property. When I go to try and connect the IBOuletCollection to my images, it doesn't allow me. I don't know if this a xcode glitch, but its frustrating and I can't seem to find a solution. Any help would be great, thanks.
Michael Hulet47,842 Points
Try connecting the image to the
IBOutletCollection instead. If that doesn't work, make sure that the image views are in the same view controller as the code for the
IBOutletCollection. If that doesn't work, maybe kill and restart Xcode?