object(at:)
Returns the object at the specified index of the set.
Declaration
func object(at idx: Int) -> AnyParameters
- idx:
The object located at index.
Return Value
If idx is beyond the end of the ordered set (that is, if index is greater than or equal to the value returned by count), an rangeException is raised.
See Also
Accessing Set Members
contains(_:)enumerateObjects(at:options:using:)enumerateObjects(_:)enumerateObjects(options:using:)firstObjectlastObjectsubscript(_:)objects(at:)index(of:)index(of:inSortedRange:options:usingComparator:)index(ofObjectAt:options:passingTest:)index(ofObjectPassingTest:)index(_:ofObjectPassingTest:)indexes(ofObjectsAt:options:passingTest:)indexes(ofObjectsPassingTest:)