views:

3719

answers:

2
+5  A: 

I think you need to retain the three arrays you create in viewDidLoad -- you never call alloc on them, so you don't have ownership until you call retain.

Daniel Dickison
Perfect, thank you :]
antonmills
+2  A: 

Instead of just calling retain use the initWithObjects message:

slowAnimation = [[NSArray alloc] initWithObjects:
                                  [UIImage imageNamed:@"image1.jpg"],
                                  [UIImage imageNamed:@"image2.jpg"],
                                  nil];
Lounges