Changes

Working with Objective-C Array Objects

6 bytes removed, 20:58, 11 November 2009
Accessing Array Elements using Fast Enumeration
== Accessing Array Elements using Fast Enumeration ==
The technique for accessing all the array elements using a ''for'' loop as described in the previous section is a little ungainly. Another, easier mechanism for accessing element in an array involves something called ''fast enumeration''. Fast enumeration simply requires that a variable be declared to hold each array element, and then referencing this referenced in the for loop:
<pre>