I don’t think I am creating this array of UILabels correctly.
If I put a breakpoint after this line of code, it shows that the array is empty.
colorLabelArray = [[NSMutableArray alloc] initWithObjects: greenLabel, orangeLabel, blackLabel,purpleLabel, yellowLabel, redLabel, blueLabel, whiteLabel, nil];
If I do the same thing with UIImages it works just fine. What am I missing?
Are you certain that none of the label objects are nil? Specifically, if
greenLabelis nil, theninitWithObjects:will ignore the rest of the argument list and return an empty array.