Can I assign array size using NSMutableArray?

Posted by Tattat on Stack Overflow See other posts from Stack Overflow or by Tattat
Published on 2010-04-06T04:53:14Z Indexed on 2010/04/06 5:03 UTC
Read the original article Hit count: 171

I used to be a Java Programmer, which the array need to declare the very first time, like this:

int[] anArray;              // declares an array of integers
anArray = new int[10];      // allocates memory for 10 integers

I don't know whether the Objective C , NSMutableArray also give me this ability or not. Actually, I want to make a 10*10 array. thz in advance.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about java