when you declare an array and initialize it at the same time using initWithObjects: does the first object go in index 0? and then sequentially fill the array?
example: Does the following declaration
NSMutableArray *test = [[NSMutableArray alloc] initWithObjects:@"zero", @"one", @"two", nil];
result in:
test [0] = zero
test [1] = one
test [2] = two
?
Yes,
NSArrayand its subclassNSMutableArraymanage ordered collections of objects.