whatdoesitallmean
whatdoesitallmean

Reputation: 1586

Combine two iOS apps into one

I have a situation where two separate companies wish to 'join' their iOS apps together to form a single app (so that only one App store download is required). The apps have entirely separate code-bases. The companies are looking to partner together but they don't really want one another seeing each others code.

A degree of fiddling with the code would be acceptable.

Is there any way to 'package' the code-bases or binaries so that app 1 could be incorporated into app2 without the app2 developers having access to the app 1 code base?

Thanks

Upvotes: 3

Views: 2590

Answers (2)

Kanishka
Kanishka

Reputation: 77

You can also create multiple frameworks of your different modules and then import your frameworks which keeps your code separate and easy to manage

Upvotes: 0

Michael Dautermann
Michael Dautermann

Reputation: 89549

Sure, make one (or both) of the apps into libaries or frameworks that can be called into from the other (to instantiate and open a XIB file and view controller which is the parent view of the "other" app).

Then the source code could be kept separate and distinct from one section to another.

But you would also have to work out solutions for what to do with any app delegate (UIApplicationDelegate) methods that are implemented in both applications. Good luck with that!

Upvotes: 2

Related Questions