I looked at the indexOfObjectPassingTest method that comes with all NSArrays. I actually had to dig up some documentation that gave me the code. It would be nice if all I had to do was something like this:
Code:
NSPredicate *predicate = // predicate code here
NSInteger *indexOfObjectThatSatisfiesPredicate = [array indexOfObjectThatSatisfiesPredicate:predicate];