Build Array of Images with NSMutableArray

/ Published in: Objective C
Save to your folder(s)

Rather than creating an array of images where you list each image individually this will loop through images that all have the filename "frame-X.png" where X is a number from 1 to 20. So if you have a series of images "frame-1.png", "frame-2.png" this loop will create the array. Good for creating an image-based animation.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.