I tried making an array of functions and Xcode did not let me. This is the error I get:
Value of type '(ViewController) -> () -> (ViewController)' has no member 'firstFunc'
Essentially I need to know how array of functions are made in order to randomly call them later.
let randomFunc = [self.firstFunc(),self.secondFunc(),self.thirdFunc()]
func firstFunc(){
}
func secondFunc(){
}
func thirdFunc(){
}