{"id":16220378,"url":"https://github.com/kosso/swifti","last_synced_at":"2025-03-19T11:30:55.374Z","repository":{"id":138913056,"uuid":"192197750","full_name":"kosso/SwifTi","owner":"kosso","description":"A test Titanium iOS module built with Swift. Just for learning how to build them and use UIViews and custom stuff.. etc.","archived":false,"fork":false,"pushed_at":"2019-06-17T10:15:41.000Z","size":1393,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T18:23:11.465Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kosso.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":"2019-06-16T14:02:03.000Z","updated_at":"2022-07-06T02:19:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf94430c-1fde-46bf-95ea-b824ce45df9c","html_url":"https://github.com/kosso/SwifTi","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/kosso%2FSwifTi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosso%2FSwifTi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosso%2FSwifTi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kosso%2FSwifTi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kosso","download_url":"https://codeload.github.com/kosso/SwifTi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243985883,"owners_count":20379221,"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-10T11:58:33.467Z","updated_at":"2025-03-19T11:30:55.367Z","avatar_url":"https://github.com/kosso.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwifTi\n\n\nA test Titanium **iOS** module built with **Swift**. Just for learning how to build them and use UIViews and custom stuff.. etc.\n\n\n\nThis is just a test/example module I'm build as I learn to build Titanium iOS app modules using Swift instead  of Objective-C. \n\n\n\nIt demonstrates how to communicate with the module (and its view) from within the app. \n\nIncluded for demonstration is a third-party view animation of the old Siri 'waves', using a Swift adaptation of [SCSiriWaveformView](https://github.com/stefanceriu/SCSiriWaveformView). Also, a microphone level monitor has been created in the module using `AVAudioRecorder`  and added to attempt to learn how to draw the values provided by the audio level metering. \n\n\n\nAnd other stuff I haven't thought of yet… ;) \n\n\n\nFeel free to fork, comment and improve the mess I'm no doubt making here!! \n\n\n\nAnd obviously, CODE STRONG!!  \n\n------\n\n\n\nHere's some screenshots of the (evolving) example app: \n\n![](screenshot.jpg)\n\n\n\n![](screenshot2.jpg)\n\n\n\n------\n\n\n\nTo run the `example/app.js`, you will need to create an iOS app with the following added to the `tiapp.xml` file in the `ios` section : \n\n```\n\u003cios\u003e\n    \u003cenable-launch-screen-storyboard\u003etrue\u003c/enable-launch-screen-storyboard\u003e\n    \u003cuse-app-thinning\u003etrue\u003c/use-app-thinning\u003e\n    \u003cdefault-background-color\u003e#333333\u003c/default-background-color\u003e\n    \u003cplist\u003e\n      \u003cdict\u003e\n        \u003ckey\u003eUISupportedInterfaceOrientations~iphone\u003c/key\u003e\n        \u003carray\u003e\n          \u003cstring\u003eUIInterfaceOrientationPortrait\u003c/string\u003e\n        \u003c/array\u003e\n        \u003ckey\u003eUISupportedInterfaceOrientations~ipad\u003c/key\u003e\n        \u003carray\u003e\n          \u003cstring\u003eUIInterfaceOrientationPortrait\u003c/string\u003e\n          \u003cstring\u003eUIInterfaceOrientationPortraitUpsideDown\u003c/string\u003e\n          \u003cstring\u003eUIInterfaceOrientationLandscapeLeft\u003c/string\u003e\n          \u003cstring\u003eUIInterfaceOrientationLandscapeRight\u003c/string\u003e\n        \u003c/array\u003e\n        \u003ckey\u003eUIRequiresPersistentWiFi\u003c/key\u003e\n        \u003cfalse/\u003e\n        \u003ckey\u003eUIPrerenderedIcon\u003c/key\u003e\n        \u003cfalse/\u003e\n        \u003ckey\u003eUIStatusBarHidden\u003c/key\u003e\n        \u003cfalse/\u003e\n        \u003ckey\u003eUIStatusBarStyle\u003c/key\u003e\n        \u003cstring\u003eUIStatusBarStyleLightContent\u003c/string\u003e\n        \u003ckey\u003eUIBackgroundModes\u003c/key\u003e\n        \u003carray\u003e\n          \u003cstring\u003eaudio\u003c/string\u003e\n        \u003c/array\u003e\n        \u003ckey\u003eNSMicrophoneUsageDescription\u003c/key\u003e\n        \u003cstring\u003eFor monitoring audio levels and recording\u003c/string\u003e\n      \u003c/dict\u003e\n    \u003c/plist\u003e\n  \u003c/ios\u003e\n```\n\n\n\n.. and obviously (?) you'll need to include the module itself in the `\u003cmodules\u003e` section too: \n\n```\n\u003cmodule platform=\"iphone\"\u003ecom.kosso.swifti\u003c/module\u003e\n```\n\n\n\n------\n\n\n\nFurther discussion can be had in the `#module-development` channel on Ti-Slack [https://ti-slack.slack.com](https://ti-slack.slack.com/)\n\n\n\n\n\n-----\n\n@Kosso 2019","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosso%2Fswifti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkosso%2Fswifti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkosso%2Fswifti/lists"}