tags:

views:

163

answers:

1

In my "Groups & Files" I have created something like that:

images > gui images > foo images > foo > bar

now I want to iterate over all images that are placed in images > foo > bar. Is that possible? I am afraid it's not, because the system did never care much about "folders" when loading a file.

+1  A: 

If your images are in a sub-folder of your .app bundle, you can create an nsbundle for that folder and call pathsForResourcesOfType to get an nsareay of the paths.

Mark Bessey
How would I create that NSBundle?
Thanks
[NSBundle mainBundle]
Lounges
[NSBundle bundleWithPath: [[NSBundle mainBundle]pathForResource:@"images" ofType:@""]
Mark Bessey