Changes

Working with Objective-C Array Objects

207 bytes added, 19:36, 6 November 2009
Deleting Elements from an Array Object
[myColors removeAllObjects];
</pre>
 
To remove the last object in the array, use the ''removeLastObject'' method:
 
<pre>
myColors = [NSMutableArray arrayWithObjects: @"Red", @"Green", @"Blue", @"Yellow"];
 
[myColors removeLastObjects];
</pre>