I have some IBOutlets:
@IBOutlet weak var r1c1: MyLabel!
@IBOutlet weak var r1c2: MyLabel!
@IBOutlet weak var r2c1: MyLabel!
@IBOutlet weak var r2c2: MyLabel!
I want to place them in a two dimensional array:
var grid: [[MyLabel]] = [[r1c1,r1c2],[r2c1,r2c2]]
But when I compile, Xcode gives the following error:
InterfaceController.type does not have a member named 'r1c1'
What is the problem ?