I am trying to crate an if statement like this:
if ([[records objectAtIndex:ANYPAGE] valueForKey: @"marbles"] intValue] ==
[[[records objectAtIndex:ANYPAGE] valueForKey:@"marblesneeded"] intValue])
{
// Some Code Goes Here. . .
}
I want to be able to check if "marbles" and "marbles needed" are the same in all entries of the array at one time. How can I accomplish this?