First page Back Continue Last page Graphics
Foundation Kit - NSArray
NSArray is Cocoa Class that holds ordered list of objects.
You can put any kind of object in NSArray, NSString or your constructed class objects like car, tyre, engine.
Limitations
- It will hold only Object C objects. No primitives are allowed like int, float, enum, struct.
- You can't store nil (NULL value object) in NSArray.
NSArray has two methods:
- (unsigned) count;
- (id) objectAtIndex (unsigned int) index;