Returns the object at the specified index.
- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
An index within the bounds of the array.
The object located at
This method has the same behavior as the
index is beyond the end of the array (that is, if
index is greater than or equal to the value returned by
NSRangeException is raised.
You shouldn’t need to call this method directly. Instead, this method is called when accessing an object by index using subscripting.
Querying an Array
Returns a Boolean value that indicates whether a given object is present in the array.
The number of objects in the array.
Copies all the objects contained in the array to
Copies the objects contained in the array that fall within the specified range to
Returns an array containing the objects in the array at the indexes specified by a given index set.
Returns an enumerator object that lets you access each object in the array.