Returns the object at the given location in the receiver.
- macOS 10.5+
An object that specifies the absolute position of the object within the array. It can be an integer index, a list of coordinates, a URL, or other determinant. See the discussion for clarification.
A reference to the
SBObject object identified by
nil if the object couldn’t be located.
This method is a generalization of
object for applications where the "index" is not simply an integer. For example, Finder can specify objects using a
NSURL object as a location. In OSA this is known as "absolute position," a generalization of the notion of “index” in Foundation—it could be an integer, but it doesn't have to be. A single object may even have a number of different "absolute position" values depending on the container.