{"id":16682291,"url":"https://github.com/jpsim/swiftxpc","last_synced_at":"2025-06-20T04:05:24.786Z","repository":{"id":22605926,"uuid":"25948097","full_name":"jpsim/SwiftXPC","owner":"jpsim","description":"XPC simplified for Swift. Deal with Swift and NS* objects instead of xpc_object_t.","archived":false,"fork":false,"pushed_at":"2017-07-24T23:10:35.000Z","size":37,"stargazers_count":63,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-20T04:04:00.521Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpsim.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}},"created_at":"2014-10-30T00:45:16.000Z","updated_at":"2024-10-16T08:19:50.000Z","dependencies_parsed_at":"2022-08-21T09:30:21.562Z","dependency_job_id":null,"html_url":"https://github.com/jpsim/SwiftXPC","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jpsim/SwiftXPC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FSwiftXPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FSwiftXPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FSwiftXPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FSwiftXPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpsim","download_url":"https://codeload.github.com/jpsim/SwiftXPC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpsim%2FSwiftXPC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260878327,"owners_count":23075959,"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-12T14:06:56.125Z","updated_at":"2025-06-20T04:05:19.772Z","avatar_url":"https://github.com/jpsim.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftXPC\n\nXPC simplified for Swift. Deal with Swift and NS* objects instead of\n`xpc_object_t`.\n\n## Usage\n\n```swift\nlet swiftDict = [\n  \"String\": \"string\",\n  \"Date\": NSDate(),\n  \"Data\": NSData(),\n  \"UInt64\": UInt64(0),\n  \"Int64\": Int64(0),\n  \"Double\": 0.0,\n  \"Bool\": false,\n  \"FileHandle\": NSFileHandle(fileDescriptor: 0),\n  \"Uuid\": NSUUID(UUIDBytes: [UInt8](count: 16, repeatedValue: 0))\n]\ntoXPC(swiftDict)\n//\u003cOS_xpc_dictionary: \u003cdictionary: 0x100333580\u003e { count = 9, contents =\n//    \"Bool\" =\u003e \u003cbool: 0x7fff7bf7aa58\u003e: false\n//    \"Date\" =\u003e \u003cdate: 0x1003337b0\u003e Sun Mar 01 16:23:52 2015 PST (approx)\n//    \"Uuid\" =\u003e \u003cuuid: 0x100333800\u003e 00000000-0000-0000-0000-000000000000\n//    \"Double\" =\u003e \u003cdouble: 0x1003336a0\u003e: 0.000000\n//    \"String\" =\u003e \u003cstring: 0x1001705d0\u003e { length = 6, contents = \"string\" }\n//    \"Int64\" =\u003e \u003cint64: 0x100333780\u003e: 0\n//    \"FileHandle\" =\u003e \u003cfd: 0x1003301a0\u003e { type = (invalid descriptor), path = /dev/ttys004 }\n//    \"UInt64\" =\u003e \u003cuint64: 0x1003333a0\u003e: 0\n//    \"Data\" =\u003e \u003cdata: 0x100333650\u003e: { length = 0 bytes, contents = (nil)\n//}\u003e\n```\n\n## Credit\n\nThis project started as a Swift port of [@stevestreza](https://twitter.com/stevestreza)'s excellent\n[XPCKit](https://github.com/stevestreza/XPCKit).\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed\nunder the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\nCONDITIONS OF ANY KIND, either express or implied. See the License for the\nspecific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpsim%2Fswiftxpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpsim%2Fswiftxpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpsim%2Fswiftxpc/lists"}