how to add one or more plugins to an existing app

妖精的绣舞 提交于 2019-12-06 04:08:49

问题


My company want to make an application which like a bookshelf can load more books when the application finished, they want the application to be able to load more plugins without destroying the already installed code: when the app has been purchased and downloaded from the app store, the user can buy plugins in the app store and install them into the app.

Can anyone tell me how this could be achieved? Thank you very much.


回答1:


Implementing A Plugin System in C or C++
Xcode & iOS - Create Plugins?
How can I combine multiple iPhone applications in to one application?
Objective-C Plugin Architecture Security (Mac, not iPhone)
Objective-C and designing a plugin mechanism

https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFPlugIns/CFPlugIns.html

You have to choose right platform for creating plugins and then you need to link installed plugins to correct app I don't think you'll be able to check that before installing plugins the app has to be installed

Second way will be using in-app purchase and downloading plugins to program data directory I think the second way is more usable and more valid, because in AppStore cannot be sold application which is not standalone, and depends on another app.



来源:https://stackoverflow.com/questions/7008545/how-to-add-one-or-more-plugins-to-an-existing-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!