tags:

views:

35

answers:

1
[arrayName containsObject:myObject]

Is there any way to find the index where myObject exists in arrayName?

+3  A: 
[arrayName indexOfObject:myObject]

Documented here along with a lots of other similar variants that could be useful as well.

Daniel DiPaolo