Returns the first object contained in the receiving array that’s equal to an object in another given array.
Original signature is '- (id)firstObjectCommonWithArray:(NSArray *)otherArray'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- otherArray (NSArray)
- An array.
Return Value
Returns the first object contained in the receiving array that’s equal to an object in otherArray. If no such object is found, returns nil.
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)