Up
Authors
- Andrew Kachites McCallum (
mccallum@gnu.ai.mit.edu)
-
Date: 2006-02-11 11:22:57 -0700 (Sat, 11 Feb 2006)
Copyright: (C) 1995, 1996 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSEnumerator.h
Availability: OpenStep
Simple class for iterating over a collection of objects, usually returned from an
NSArray
or similar.
Method summary
- (
NSArray*)
allObjects;
Availability: OpenStep
Returns all objects remaining in the enumeration as an array.
- (id)
nextObject;
Availability: OpenStep
Returns next object in enumeration, or nil if none remain. Use code like while (object = [enumerator nextObject]) {...} .
Up