I have an array, and I am trying to get an integer in my array into a int or NSInteger. It uses NSDictionaries. The following code does not work:
int color = [[records objectAtIndex:0] valueForKey: @"color"];
Note that I am using a Core Data Fetch that saves into an array called "records".
Thanks