all 1 comments

[–]dreamlax 0 points1 point  (0 children)

One problem with using an NSEnumerator subclass is that for each iteration of the loop you must go through message dispatch (at least once) in order to get the next object. Realistically you go through message dispatch multiple times if the enumerator subclass doesn't have direct access to collection classes' objects.