{"id":20010121,"url":"https://github.com/cxa/appextensioncommunicator","last_synced_at":"2025-05-04T20:30:44.347Z","repository":{"id":27083087,"uuid":"30549828","full_name":"cxa/AppExtensionCommunicator","owner":"cxa","description":"Communicate between app extension and its containing app. Swift framework.","archived":false,"fork":false,"pushed_at":"2023-02-12T10:50:04.000Z","size":21,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T11:38:27.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cxa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-09T17:59:26.000Z","updated_at":"2023-02-12T10:50:09.000Z","dependencies_parsed_at":"2022-09-13T12:12:55.827Z","dependency_job_id":null,"html_url":"https://github.com/cxa/AppExtensionCommunicator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FAppExtensionCommunicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FAppExtensionCommunicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FAppExtensionCommunicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FAppExtensionCommunicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxa","download_url":"https://codeload.github.com/cxa/AppExtensionCommunicator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252395173,"owners_count":21740977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T07:18:29.734Z","updated_at":"2025-05-04T20:30:43.698Z","avatar_url":"https://github.com/cxa.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppExtensionCommunicator\n\nCommunicate between app extension and its containing app.\n\n\n## Usage Example\n\nYou must enable app groups for containing app and extension before using `AppExtensionCommunicator`.\n\n1. Make an instance with app group container URL: `AppExtensionCommunicator(containerURL: containerURL)`\n2. Deliver message: `communicator.deliverMessage(message: MSG_AS_DICTIONARY, withIdentifier: ID_AS_STRING)`\n3. Observe message: `communicator.observeMessageForIdentifier(ID_AS_STRING) { message in\n        ...}`\n\nThat's all.\n\nCheck the example project for a real world usage.\n\t\t\n## Special Thanks\nI learned how to mix C into Swift framework thanks to \u003chttps://github.com/danieleggert/mixed-swift-objc-framework\u003e created by [danieleggert](https://github.com/danieleggert).\n\n## Creator\n\n* GitHub: \u003chttps://github.com/cxa\u003e\n* Twitter: [@_cxa](https://twitter.com/_cxa)\n* Apps available in App Store: \u003chttp://lazyapps.com\u003e\n\n## License\n\nUnder the MIT license. See the LICENSE file for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxa%2Fappextensioncommunicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxa%2Fappextensioncommunicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxa%2Fappextensioncommunicator/lists"}