I want to make an array of functions so that I could randomize the order in which these arrays happen. Could I do something like:
NSMutableArray *MyArray = [NSMutableArray arrayWithObjects: function1, function2, function3, nil];
So that if I could do something like this;
RandomNum = arc4random() %([MyArray count]);
MyArray[RandomNum];
Thus Randomizing the order in which these functions are called in? How do I store the functions in this array?