{"id":13872137,"url":"https://github.com/therecipe/swift","last_synced_at":"2025-10-30T03:31:46.714Z","repository":{"id":87479728,"uuid":"276465898","full_name":"therecipe/swift","owner":"therecipe","description":"Qt binding for Swift | Showcase example for https://github.com/therecipe/qt","archived":false,"fork":false,"pushed_at":"2020-08-23T15:28:33.000Z","size":704,"stargazers_count":27,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T06:23:52.440Z","etag":null,"topics":["cross-platform-gui","desktop","example","go","qml","qt","showcase","swift"],"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/therecipe.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}},"created_at":"2020-07-01T19:35:10.000Z","updated_at":"2024-08-30T18:57:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab6488b5-9e02-4d95-9fbe-f746ca1a5799","html_url":"https://github.com/therecipe/swift","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fswift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fswift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fswift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therecipe%2Fswift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/therecipe","download_url":"https://codeload.github.com/therecipe/swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238930130,"owners_count":19554122,"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":["cross-platform-gui","desktop","example","go","qml","qt","showcase","swift"],"created_at":"2024-08-05T23:00:34.898Z","updated_at":"2025-10-30T03:31:41.261Z","avatar_url":"https://github.com/therecipe.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"Introduction\n------------\n\nThis repo showcases the PoC of the new `interop` module of `therecipe/qt` and is part of a series of language bindings for Qt.\n\nThe series consists of the [Go](https://github.com/therecipe/qt), the [JavaScript/TypeScript](https://github.com/therecipe/entry), the [Dart/Flutter](https://github.com/therecipe/flutter), the [Haxe](https://github.com/therecipe/haxe) and the [Swift](https://github.com/therecipe/swift) binding for Qt.\n\nOther bindings to languages such as Kotlin, Java, C#, Python, Node.js and Ruby are planned as well.\n\nStatus\n------\n\nAlmost all Qt functions and classes are accessible from Swift and you should be able to find everything you need to build fully featured Qt applications in Swift, the feature-set shown represents only a small portion of all the features available.\n\nHowever this is still very much experimental, and there are known memory leaks and other limitations such as the missing support for enums.\n\nAlso, a word of warning, the interop api isn't frozen yet and might change in the future.\n\nIf you want to dig around, checkout the [main.swift](https://github.com/therecipe/swift/blob/master/main.swift) and the [internal.swift](https://github.com/therecipe/swift/blob/master/Sources/qt/internal.swift) files were all of the logic used for this binding is buried.\n\nInfo\n----\n\nFor general information about `therecipe/qt`, checkout: https://github.com/therecipe/qt\n\nThe Qt API Docs can be found here: https://doc.qt.io/qt-5/classes.html\n\nIf you have questions, join our Slack channel [#qt-binding](https://gophers.slack.com/messages/qt-binding/details) ([invite yourself here](https://invite.slack.golangbridge.org)\\)\n\nUsage\n-----\n\nSetup `therecipe/qt` and install Swift: https://swift.org/download/ (5.1 was used during development; but earlier versions might work as well)\n\nNext run the `make.sh` script in the root of the repo to build the application.\n\nIf you want to re-generate the Swift binding, you can use the `gen.sh` script to do so.\n\nThe binding was only tested on macOS, but it should work on Windows and Linux as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherecipe%2Fswift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherecipe%2Fswift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherecipe%2Fswift/lists"}