Sharing bundled assets between app and extension

后端 未结 5 1911
迷失自我
迷失自我 2021-01-30 23:40

My Photo Sharing extension plans to use the same design assets (for navigation and for adding \'stamps / stickers\' to the photo).

As explained in App Sa

5条回答
  •  礼貌的吻别
    2021-01-30 23:59

    Sounds like you want to use a framework instead. Your framework will be primarily resources instead of code, however:

    OS X makes extensive use of frameworks to distribute shared code and resources, such as the interfaces to the system itself. You can create frameworks of your own to provide shared code and resources to one or more of your company’s applications. You can also create frameworks containing class libraries or add-on modules with the intention of distributing them to other developers.

    https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPFrameworks/Frameworks.html#//apple_ref/doc/uid/10000183i

提交回复
热议问题