Searches the receiver’s internal item list for the specified object and returns the lowest matching index.
Original signature is '- (NSInteger)indexOfItemWithObjectValue:(id)anObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- anObject (Id)
- The object for which to return the index.
Return Value
The lowest index in the internal item list whose corresponding value is equal to that of the specified object. Objects are considered equal if they have the same id or if isEqual: returns YES. If none of the objects in the receiver’s internal item list are equal to anObject, indexOfItemWithObjectValue: returns NSNotFound.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)