Welcome to the Treehouse Community
Looking to learn something new?
Code Challenge: Create an NSMutableArray object called 'elements'.
The challenge is asking to to Create an NSMutableArray object called 'elements'.
I tried to create an NSMutableArray object by typing this into the editor: NSMutableArray *elements;
The code challenge editor says I made a mistake, but the code works just fine in Xcode.
Does anyone have any idea what went wrong?
Stefan Bjornsson3,362 Points
For the first task I have tried the 3 following lines of code that does not pass: NSMutableArray *elements; NSMutableArray *elements = [[NSMutableArray alloc] init]; NSMutableArray *elements = [[NSMutableArray alloc] initWithCapacity: 0];
When pushing the preview button I rarely see any display of errors through out this course it usually display blank white space, is it possible to fix that?