Review of KVC and improvements by Chris Farber

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25313 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nicola 2007-07-10 17:16:31 +00:00
parent ebc886d8fd
commit 350af41dcc
7 changed files with 1385 additions and 9 deletions

View file

@ -35,6 +35,7 @@ extern "C" {
@class NSString;
@class NSURL;
@class NSIndexSet;
@interface NSArray : NSObject <NSCoding, NSCopying, NSMutableCopying>
@ -72,6 +73,7 @@ extern "C" {
- (id) lastObject;
- (id) objectAtIndex: (unsigned)index; // Primitive
- (NSArray *) objectsAtIndexes: (NSIndexSet *)indexes;
- (id) firstObjectCommonWithArray: (NSArray*)otherArray;
- (BOOL) isEqualToArray: (NSArray*)otherArray;
@ -126,6 +128,7 @@ extern "C" {
- (id) initWithCapacity: (unsigned)numItems; // Primitive
- (void) insertObject: (id)anObject atIndex: (unsigned)index; // Primitive
- (void) removeObjectAtIndex: (unsigned)index; // Primitive
- (void) removeObjectsAtIndexes: (NSIndexSet *)indexes;
- (void) replaceObjectAtIndex: (unsigned)index
withObject: (id)anObject; // Primitive
- (void) replaceObjectsInRange: (NSRange)aRange