Can an xcode Swift app call functions in a 2nd xcode Swift app, or must 2nd be static lib only?
Why:
I need to provide functions to be called by a 3rd Swift app.
I have an existing swift app.
It will save development time to drop new functions into existing app, which 3rd app calls.
Otherwise must create and maintain static lib.
CodePudding user response:
As you probably already know, all the apps on the iPhone run in a sandbox in order to provide a high level of security. As far as I know, there are multiple ways to achieve this, but lots of them are too complicated to use for this.
Here are two ways to manage the communication between apps that may help you: