mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(-objectEnumerator, reverseObjectEnumerator): Implemented methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@316 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4672627ad6
commit
0b30724d11
1 changed files with 3 additions and 4 deletions
|
@ -25,6 +25,7 @@
|
|||
#include <foundation/NSArray.h>
|
||||
#include <foundation/NSString.h>
|
||||
#include <foundation/NSConcreteArray.h>
|
||||
#include <foundation/NSArrayEnumerator.h>
|
||||
#include <limits.h>
|
||||
|
||||
@implementation NSArray
|
||||
|
@ -231,14 +232,12 @@
|
|||
|
||||
- (NSEnumerator*) objectEnumerator
|
||||
{
|
||||
[self notImplemented:_cmd];
|
||||
return nil;
|
||||
return [[NSArrayEnumerator alloc] initWithArray:self];
|
||||
}
|
||||
|
||||
- (NSEnumerator*) reverseObjectEnumerator
|
||||
{
|
||||
[self notImplemented:_cmd];
|
||||
return nil;
|
||||
return [[NSArrayEnumeratorReverse alloc] initWithArray:self];
|
||||
}
|
||||
|
||||
- (NSString*) description
|
||||
|
|
Loading…
Reference in a new issue