{"id":15938980,"url":"https://github.com/inokinoki/macosxpcsample","last_synced_at":"2025-04-03T20:20:39.270Z","repository":{"id":91522282,"uuid":"298826770","full_name":"Inokinoki/macOSXPCSample","owner":"Inokinoki","description":"Test Use Cases of XPC (Cross Process Communication) on macOS","archived":false,"fork":false,"pushed_at":"2021-05-29T19:59:42.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T08:33:43.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Inokinoki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-26T14:04:54.000Z","updated_at":"2021-10-04T17:01:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a751df4-9f51-4a77-9de2-f969fc6cdf5c","html_url":"https://github.com/Inokinoki/macOSXPCSample","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"20918934ceaae2d51d8efb182ce0a2eb2d92aa94"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inokinoki%2FmacOSXPCSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inokinoki%2FmacOSXPCSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inokinoki%2FmacOSXPCSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inokinoki%2FmacOSXPCSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inokinoki","download_url":"https://codeload.github.com/Inokinoki/macOSXPCSample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070921,"owners_count":20878586,"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-10-07T06:01:05.820Z","updated_at":"2025-04-03T20:20:39.222Z","avatar_url":"https://github.com/Inokinoki.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XPC demo application on macOS - embedded\n\nThe word `embedded` means that the XPC service will be included in the `.app` bundle.\n\n## Objective-C\n\n[XPCCallerUIOBC](XPCCallerUIOBC) is a demo in full Objective-C, with a XPC caller (client) GUI program and an embedded XPC callee (server).\n\n## Swift\n\n[XPCCallerUITest](XPCCallerUITest) is a demo in full Swift, with a XPC caller (client) GUI program and an embedded XPC callee (server).\n\nIt's directly called UI Test, because Swift is more widely used at this era :)\n\n## [WIP] Hybrid\n\n[XPCCallerSwift](XPCCallerSwift) is a demo which does not work at the moment. This is a demo where a Swift cli calls XPC on a XPC Service.\n\nAt least I can confirm that, a cli program cannot embed a XPC service thus cannot call one.\n\nTODO:\n\n- validate whether Swift and Objective-C XPC can call each other. I've ever met a reply data corruption, probably due to the different signature in Swift and Objective-C.\n\n## C API\n\n[XPCCallerCAPI](XPCCallerCAPI) is a demo in Objective-C, the XPC is implemented with the system C API.\n\n# XPC demo application on macOS - Mach\n\nMach means that the call is through launchd, with MIG mechanism.\n\n## Swift\n\n[MachSwift](MachSwift) is a demo in full Swift, with a XPC caller program and an external XPC callee based on launchd and Mach MIG.\n\n## C API\n\n[MachC](MachC) is a demo in Objective-C/C, with a XPC caller program and an external XPC callee based on launchd and Mach MIG.\n\nIt does not work well - the received Mach message seems to be corrupted. Need fix...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finokinoki%2Fmacosxpcsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finokinoki%2Fmacosxpcsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finokinoki%2Fmacosxpcsample/lists"}