I'm trying to setup an outlet collection in swift. The problem is I am getting the following error :
'IBOutlet' property cannot be an array of non-'@objc' class type '[Badge]'
Here is my code :
import UIKit
class BadgeModuleCell: UITableViewCell
{
@IBOutlet var badges: [Badge]!
}
Is there anything I am doing wrong ? This seems to be the same as in the Apple documentation (here).