Up
Authors
- Andrew Kachites McCallum (
mccallum@gnu.ai.mit.edu
)
-
Version: 37003
Date: 2013-08-22 09:44:54 -0600 (Thu, 22 Aug 2013)
Copyright: (C) 1995, 1996 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSEnumerator.h
- Conforms to:
- NSFastEnumeration
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.
Calling this method 'exhausts' the
enumerator, leaving it at the end of the
collection being enumerated.
- (id)
nextObject;
Availability: OpenStep
Returns next object in enumeration, or
nil
if none remain. Use code like
while (object = [enumerator nextObject]) {...}
.
- Declared in:
- Foundation/NSEnumerator.h
Availability: OpenStep
Description forthcoming.
Method summary
- (
NSUInteger)
countByEnumeratingWithState: (NSFastEnumerationState*)state
objects: (__unsafe_unretained id[])stackbuf
count: (
NSUInteger)len;
Availability: OpenStep
Description forthcoming.
Up