开发者

How to create a bundle

开发者 https://www.devze.com 2022-12-29 15:54 出处:网络
how do I create a bundle with resources like images and xibs to share it between apps? I saw that there\'s a way to do it when creating a new pr开发者_高级运维oject, but there must be a way to do it b

how do I create a bundle with resources like images and xibs to share it between apps? I saw that there's a way to do it when creating a new pr开发者_高级运维oject, but there must be a way to do it based on a finished project, right?

Thanks in advance

–f


On iPhoneOS the bundle structure is very simple. Just a make folder and put all the resources under it.

blah.bundle/
  foo.png
  bar.png
  baz.nib
  ...

But apps are sandboxed so the same bundle must be copied into each app.

0

精彩评论

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