When I try to create an array of UIButtons in the ViewController
Instance member 'tile11' cannot be used on type 'ViewController'
It works when I create it inside a method, but I need the array in more than one method, and it's getting annoying to having to create the array again and again.
class ViewController: UIViewController {
let tileArray: Array<UIButton> = [tile11, tile12, tile13, tile21, tile22, tile23, tile31, tile32, tile33]
}