Created
November 30, 2010 02:23
-
-
Save amiri/721030 to your computer and use it in GitHub Desktop.
inSeason.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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