{"id":19287520,"url":"https://github.com/tachoknight/helloswiftandcpp","last_synced_at":"2025-04-22T04:32:18.287Z","repository":{"id":17855558,"uuid":"20778439","full_name":"tachoknight/HelloSwiftAndCPP","owner":"tachoknight","description":"A sample project that mixes Apple's Swift language with Objective C and C++","archived":false,"fork":false,"pushed_at":"2019-07-28T23:05:17.000Z","size":22730,"stargazers_count":25,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-23T16:43:09.461Z","etag":null,"topics":["c-plus-plus","objective-c","swift"],"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/tachoknight.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-06-12T18:33:10.000Z","updated_at":"2022-06-22T16:00:47.000Z","dependencies_parsed_at":"2022-09-24T19:12:39.117Z","dependency_job_id":null,"html_url":"https://github.com/tachoknight/HelloSwiftAndCPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachoknight%2FHelloSwiftAndCPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachoknight%2FHelloSwiftAndCPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachoknight%2FHelloSwiftAndCPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachoknight%2FHelloSwiftAndCPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tachoknight","download_url":"https://codeload.github.com/tachoknight/HelloSwiftAndCPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223888456,"owners_count":17220083,"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":["c-plus-plus","objective-c","swift"],"created_at":"2024-11-09T22:06:09.118Z","updated_at":"2024-11-09T22:06:09.570Z","avatar_url":"https://github.com/tachoknight.png","language":"Objective-C","readme":"HelloSwiftAndCPP\n================\n\nA sample project that mixes Apple's Swift language with Objective C and C++. I wrote it trying to figure out how I can add existing C++ code into a Swift project. It's meant to be C++/ObjC/Swift 101 just to show the interop between the three, without getting bogged down in frameworks.\n\nmain.swift\n  - The main program that calls both Objective C and C++ (via Objective C++) code\n\nSomeCPPClass.cpp/h\n  - A regular C++ class using iostream and string\n  \nHelloSwiftAndCPP-Bridging-Header.h\n  - The file necessary to expose the Objective C/C++ classes to Swift\n  \nXYZSomething.m/h\n  - Basic Objective C class\n  \nABCpp.mm/h\n  - Objective C++ class that uses SomeCPPClass\n  \n  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachoknight%2Fhelloswiftandcpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftachoknight%2Fhelloswiftandcpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachoknight%2Fhelloswiftandcpp/lists"}