Q:

What does NSArray's count return?

Does -[NSArray count] return the number of objects (i.e. the first object would be 1, etc.) or does it return the max index of the object (i.e. the first one would be 0)?

A:

It returns the total number of objects. For example, if you have an object at index 0, 1, and 2, then it will return a count of 3.

