How would you end a quick census after you got what you were looking for.
In the for loop, I know that you just set the counter number to a thousand or something like that. Example:
for (int i=0;i<10;i++){ if (random requirement){ random code i=1000; } }
therefore, without converting a fast enumeration to an object such as a direct loop (by comparing with [array count] , how can you stop a fast enumeration in the process?
source share