OK, I am sure that there is a simple way to do this but I just can't find the answer anywhere.
I have a whole stack of images that I need to load for several different UIImageView animations. I want these to load using a loop because there are so many but I can't work out how to isolate the correct images in the bundle.
So for example, say I have 40 image files. The first 13 are named jack_1.png up to jack_13.png the next 16 are called jill_1.png up to jill_16.png and 11 called hill_1.png up to hill_11.png.
I would like to create an for/if statement that loads all @"jack_%i.png" files into on array, all @"jill_%i.png" files into another Array and so on.
I hope this make sense.