views:

210

answers:

2

Hey.

I am trying to find an item in a NSMutableArray from it's value, only to find its indexPath.

I have absolutely no idea of how to do this, as I am very new to programming in general.

Thanks!

+1  A: 

Are you perhaps looking for - indexOfObject:? This method returns the index on which the object specified can be found in the NSArray (from which NSMutableArray inherits) on which the method is ran.

Douwe Maan
Yeah, something like that. But how do I find the object? All I got is its contents..
Emil
+1  A: 

You probably need something like this or this

owen