0

I tried to find the solution, but I couldn't find anyone with the same problem.

I'm using Xcode 8.2.1, writing in Objective-C.

I'm actually having a problem with adding a UIImageView to IBOutletCollection. I'm trying to do it using the Interface Builder.

dragging to connect ImageView with the Collection

I've already deleted any existing outlets of that ImageView.

I'm also adding screenshot of the header file of the MasterViewController - I guess everything is OK here.

declaration of the collection

Thanks for help.

Rafał M
  • 391
  • 3
  • 4
  • 2
    `IBOutletCollection(UIViewController)` should be `IBOutletCollection(UIImageView)` – dan Mar 13 '17 at 18:58

1 Answers1

0

You have to use IBOutletCollection(UIImageView) instead of IBOutletCollection(UIViewController)

uvesten
  • 3,365
  • 2
  • 27
  • 40
Dishant Rajput
  • 1,329
  • 1
  • 10
  • 20