Contents

allObjects

The array of unenumerated objects.

Declaration

var allObjects: [Any] { get }

Discussion

This array contains all the remaining objects of the enumerator in enumerated order. It does not contain objects that have already been enumerated with previous nextObject() messages.

Accessing this property exhausts the enumerator’s collection so that subsequent invocations of nextObject() return nil.

See Also

Related Documentation

  • Collections Programming Topics

Getting the Enumerated Objects