Let's say I have a folder in my project with a bunch of png files in it (or mp3 files, or mov files, etc.).
I would like to create an NSArray filled with elements in this folder ... for example, an UIImages array for an image folder (or just an array of NSStrings image names).
Is it possible? I know that I could create a plist with all the names or name the elements individually inside the code, but this violates the DRY rule (do not repeat). Has anyone dealt with this?
source
share