开发者

What are the advantages of using bundles in iPhone development?

开发者 https://www.devze.com 2023-03-09 18:44 出处:网络
What is the advantage of using bundle during iPhone development? p.s. I see many SDK like Facebook SDK, Three20 are using bundles to contain images and other contents, but I开发者_StackOverflow社区

What is the advantage of using bundle during iPhone development?

p.s. I see many SDK like Facebook SDK, Three20 are using bundles to contain images and other contents, but I开发者_StackOverflow社区 am not sure why should I do so. What is the difference between using main bundle and a newly created bundle?


It's quite simple really. You use bundles just like you would use name spaces. Files in the newly created bundle could have files with the same names as files in the main bundle. Facebook SDK and Three20 have their own bundles, so that you can have any files you want in the main bundle without risking conflicts.

0

精彩评论

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