0

Xcode Screen Shot

The above screenshot shows the assistant editor to my view controller displayed.

I want to make an IBOutletCollection for the 'artist' labels and link them to the specific title but I'm unable to do so.

Hugo Alonso
  • 6,684
  • 2
  • 34
  • 65

1 Answers1

0

Use IBOutletCollection's equivalent in swift as follows:

@IBOutlet var labelsArray: [UILabel]?

Connect all labels to the above property.

Mehul Parmar
  • 3,599
  • 3
  • 26
  • 42