Reputation: 4994
is there any way to connect between 2 applications ? for example i create dictionary database for weDict application , and is it possible move the database from my app to weDict app folder ?
Upvotes: 0
Views: 124
Reputation: 14376
Implement a server in one app and a client in the other (utilize TCP, s/b able to use localhost). Connect the client to the server, transfer the data, instantiate the DB, fini.
Upvotes: 0
Reputation: 134167
This seems like it would not be allowed by Apple because if one application can modify the data of another then, for example, it could write bad data which leaves that other application in a "broken" state.
Upvotes: 2
Reputation: 857
I don't think that is possible the way you put it. You would have to create a service and store the info in a centralized location.
This is because every app is bound to it's on "sandbox" folder.
Upvotes: 4