Quote:
Originally Posted by wheli
Since I never see "yay" in the console, I assume that my array is empty. Any ideas why this is happening?
|
You init an array, but you never point the pointer fruitArray at it. Try this:
Code:
if (fruitArray == nil) { fruitArray = [[NSMutableArray alloc] init];}