int amountOfPictures = 20;
NSMutableArray *arrayOfPictureNames = [NSMutableArray array];
for(int x = 0; x < amountOfPictures; x++) {
[arrayOfPictureNames addObject:[NSString stringWithFormat:@"card%d.png", x]];
}
Now you should have an array full of names of pictures in that card1.png card2.png format.