Playing animations in sequence in objecive c
<p>I'm trying to play animations in sequence but i'm having issues playing them as a for loop iterates through the list of objects in an array.</p>

<p>it will move through the array but it won't play each one it just plays the last...</p>

<pre><code>-(void) startGame {
    gramma.animationDuration = 0.5;

    // Repeat forever
    gramma.animationRepeatCount = 1;
    int r = arc4random() % 4;
    [colorChoices addObject:[NSNumber numberWithInt:r]];

    int anInt = [[colorChoices objectAtIndex:0] integerValue];
    NSLog(@"%d", anInt);
    for (int i = 0; i &lt; colorChoices.count; i++) {

        [self StrikeFrog:[[colorChoices objectAtIndex:i] integerValue]];
        //NSLog(@"%d", [[colorChoices objectAtIndex:i] integerValue]);
        sleep(1);

    }
}
</code></pre>

<p>it moves through the whole cycle really fast and sleep isn't doing anything to allow it to play each animation... any suggestions?</p>
