mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Add firstObject: method existing since 10.6
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38595 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d7a6170f24
commit
9eac37b9c8
3 changed files with 22 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Interface for NSArray for GNUStep
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2015 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Created: 1995
|
||||
|
@ -105,6 +105,9 @@ typedef NSUInteger NSBinarySearchingOptions;
|
|||
- (id) initWithObjects: (const id[])objects
|
||||
count: (NSUInteger)count;
|
||||
- (id) lastObject;
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
- (id) firstObject;
|
||||
#endif
|
||||
|
||||
/** <override-subclass />
|
||||
* Returns the object at the specified index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue