[arrayName containsObject:myObject]
Is there any way to find the index where myObject exists in arrayName?
[arrayName containsObject:myObject]
Is there any way to find the index where myObject exists in arrayName?
[arrayName indexOfObject:myObject]
Documented here along with a lots of other similar variants that could be useful as well.