How can I share data between the container macOS app and my Xcode Source Editor Extension?

209 views Asked by At

I have made an Xcode Source Editor extension, and it lives within a container app, as Apple recommends. The container app handles the UI, and accordingly the input from the user that needs to be set for my extension to work right.

How can I take the input I get in the container app and make it available to the extension to access when it needs it? I tried using NSUserDefaults but it didn't work as I hoped.

0

There are 0 answers