Skip to content

Instantly share code, notes, and snippets.

@amiri
Created November 30, 2010 02:23
Show Gist options
  • Save amiri/721030 to your computer and use it in GitHub Desktop.
Save amiri/721030 to your computer and use it in GitHub Desktop.
inSeason.m
for (int i = 0; i < [inSeasonArray count]; i++) {
// check whether this green has 4 best seasons, and if so skip
NSLog(@"Here is the produceBest dictionary: ",[[inSeasonArray objectAtIndex:i] valueForKey:@"produceBest"] );
NSLog(@"Here is the number of items in produceBest dictionary: ",[[[inSeasonArray objectAtIndex:i] valueForKey:@"produceBest"] count] );
if ([[[inSeasonArray objectAtIndex:i] valueForKey:@"produceBest"] count] > 3) {
continue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment