开发者

iOS App - How to make and call runtime library/app

My iOS app has grown large and take long time to load. Lots of class in my application is not always needed, some may never been called at all depending on user. How can I split my application into several executable file and make the main application call/load them when needed (run-time)?

It's much easier if I can split my application into several executable because I can divide my team's workload into several executable with less de开发者_如何学JAVApendency.


iOS does not support dynamically linking to anything but system-supplied libraries. Any other library must be statically linked into your application.

There's one way to make an end run around this: You can use interpreted code, provided it is shipped with your app. So, if you can split your app into an Obj-C controller and services layer driven by dynamically executed Lua code (for example), you could avoid loading code you never use.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜