开发者

How to init an array with all files in a group in XCode?

开发者 https://www.devze.com 2023-02-18 08:19 出处:网络
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 ther

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消