This protocol defines NSArray-like interface methods for data objects.
More...
#import <NSADataObject.h>
|
NSUInteger | count |
| Returns the number of objects currently in the data object. More...
|
|
NSArray * | allObjects |
| Returns an array containing the container’s members, or an empty array if the container has no members. More...
|
|
This protocol defines NSArray-like interface methods for data objects.
- (id) : |
|
(NSUInteger) |
__deprecated |
|
Returns the object located at index. Shortcut of objectAtIndex:
- Parameters
-
index | An index within the bounds of data object. |
- Returns
- The object located at index.
- Deprecated:
- Use (obj)[index] syntax of Modern Objective-C instead of this method.
- (BOOL) containsObject: |
|
(id) |
anObject |
|
Returns a Boolean value that indicates whether a given object is present in the array.
- Parameters
-
- Returns
- YES if anObject is present in the array, otherwise NO.
- (NSUInteger) indexOfObject: |
|
(id) |
anObject |
|
Returns the lowest index whose corresponding member value is equal to a given object.
- Parameters
-
- Returns
- The lowest index whose corresponding member value is equal to anObject. If none of the objects in the data object is equal to anObject, returns NSNotFound.
- (id) objectAtIndex: |
|
(NSUInteger) |
index |
|
Returns the object located at index.
- Parameters
-
index | An index within the bounds of data object. |
- Returns
- The object located at index.
Returns an array containing the container’s members, or an empty array if the container has no members.
Returns the number of objects currently in the data object.
The documentation for this protocol was generated from the following file: