{"id":21903843,"url":"https://github.com/hansemannn/titanium-swift-module-example","last_synced_at":"2025-04-15T20:43:24.924Z","repository":{"id":142791382,"uuid":"87917005","full_name":"hansemannn/titanium-swift-module-example","owner":"hansemannn","description":"Utilize Swift to build native modules for Appcelerator Titanium.","archived":false,"fork":false,"pushed_at":"2018-08-01T07:16:10.000Z","size":7819,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T01:11:57.297Z","etag":null,"topics":["appcelerator","module","swift","titanium"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/hansemannn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-11T09:42:57.000Z","updated_at":"2022-07-06T02:33:20.000Z","dependencies_parsed_at":"2023-03-18T06:00:47.801Z","dependency_job_id":null,"html_url":"https://github.com/hansemannn/titanium-swift-module-example","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/hansemannn%2Ftitanium-swift-module-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-swift-module-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-swift-module-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-swift-module-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-swift-module-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249151938,"owners_count":21221153,"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":["appcelerator","module","swift","titanium"],"created_at":"2024-11-28T15:29:45.694Z","updated_at":"2025-04-15T20:43:24.916Z","avatar_url":"https://github.com/hansemannn.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Native Titanium Swift Modules\n\nThis is an example project that uses pure Swift modules in Titanium. Both the module\nand it's dependencies are 100 % Swift and do not require any additional setup / linking\nanymore.\n\nIt is using the #1 Swift Networking Library `Alamofire` with only three lines of code. More examples like SwiftyJSON or RxSwift are coming over the next weekens and months. \n\n\u003e ⚠️ Warning: This project is not ready for production, yet. It will be part\n\u003e of Titanium SDK 8.0.0+.\n\n## General Challenges\n\n- [x] Titanium used Objective-C static libraries to export module before, Swift only uses frameworks.\n- [x] The module project used Xcode Configuration (.xcconfig) files to inject the header search paths\n- [x] Swift frameworks require modular framework references (module-maps)\n- [x] The Titanium API loads native module by `require`'ing them. Not sure if the .framework files will even be directly recongnized by the SDK\n- [x] Embedded framework-dependencies need to be linked properly\n\n## Open issues\n\nNone!\n\n## License\n\nMIT\n\n## Author\n\nHans Knöchel\n\nCode Strong! :rocket:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-swift-module-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-swift-module-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-swift-module-example/lists"}