How to init an array with all files in a group in XCode?
I have a group/folder in my XCode iOS project that has a lot of small sound files, and 开发者_如何学JAVAI don't want to have to type all of them out individually to get them into an array, so is there a way to do it? With bundles or something?
Look at NSBundle's -pathsForResourcesOfType:inDirectory: method.
精彩评论