NSArray, NSMutableArray

+(id)arrayWithObjects:,... create a new array with the list of passed objects. The list must end with ,nil.
-(int)count returns count of objects in array
-(id)objectAtIndex:(int) returns object at index (start counting at 0)
-(NSEnumerator*)objectEnumerator return an enumerator (9.6) over all objects in array

NSMutableArray adds the following methods:

-(void)addObject:(id)obj add the object to the end of the array
-(void)insertObject:(id)obj atIndex:(int)idx insert new object before object with index idx
-(void)removeObject:(id)obj remove all occurencies of object
-(void)removeAllObjects remove all objects

moltalk@moltalk.org      version of this document: V3.0