* Headers/Foundation/NSArray.h,

* Source/NSArray.m: Move -setValue:forKey: from NSMutableArray
  to NSArray.
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37464 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2013-12-13 21:01:22 +00:00
parent 3295120967
commit 32a9c4c1dd
3 changed files with 26 additions and 21 deletions

View file

@ -152,6 +152,7 @@ typedef NSUInteger NSBinarySearchingOptions;
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile;
- (id) valueForKey: (NSString*)key;
- (void) setValue: (id)value forKey: (NSString*)key;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
@ -377,9 +378,6 @@ DEFINE_BLOCK_TYPE(GSPredicateBlock, BOOL, id, NSUInteger, BOOL*);
- (void) sortWithOptions: (NSSortOptions)options
usingComparator: (NSComparator)comparator;
#endif
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setValue: (id)value forKey: (NSString*)key;
#endif
/**
* Set method called by the compiler with array subscripting.
*/