{"id":15561329,"url":"https://github.com/devandsev/taptickit","last_synced_at":"2025-09-08T00:40:20.190Z","repository":{"id":56923828,"uuid":"127023184","full_name":"devandsev/TapticKit","owner":"devandsev","description":"Make use of Taptic engine for haptic feedback","archived":false,"fork":false,"pushed_at":"2018-04-30T14:19:52.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-08-14T04:51:36.342Z","etag":null,"topics":["haptic","ios","swift4","taptic","taptic-engine"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devandsev.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}},"created_at":"2018-03-27T17:34:08.000Z","updated_at":"2019-08-09T15:07:44.000Z","dependencies_parsed_at":"2022-08-20T22:20:26.281Z","dependency_job_id":null,"html_url":"https://github.com/devandsev/TapticKit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devandsev/TapticKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devandsev%2FTapticKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devandsev%2FTapticKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devandsev%2FTapticKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devandsev%2FTapticKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devandsev","download_url":"https://codeload.github.com/devandsev/TapticKit/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devandsev%2FTapticKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274117519,"owners_count":25225103,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["haptic","ios","swift4","taptic","taptic-engine"],"created_at":"2024-10-02T16:07:27.437Z","updated_at":"2025-09-08T00:40:20.154Z","avatar_url":"https://github.com/devandsev.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TapticKit\n\nTapticKit makes it easier to use Taptic engine for haptic feedback. Supports all generations of Taptic engine. If the device doesn't support the latest feedback types, TapticKit falls back on using older ones as substitutes.\n\n## Installation\n\n### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html)\n\n```ruby\n# Podfile\nuse_frameworks!\n\ntarget 'YOUR_TARGET_NAME' do\n    pod 'TapticKit'\nend\n```\n\nReplace `YOUR_TARGET_NAME` and then, in the `Podfile` directory, type:\n\n```bash\n$ pod install\n```\n\n### [Carthage](https://github.com/Carthage/Carthage)\n\nAdd this to `Cartfile`\n\n```\ngithub \"devandsev/TapticKit\"\n```\n\nIn the `Cartfile` directory, type:\n\n```bash\n$ carthage update\n```\n\n## Usage examples\n\nAs Apple recommends\n\u003ePreparing the generator can reduce latency when triggering feedback. This is particularly important when trying to match feedback to sound or visual cues. Calling the generator’s prepare() method puts the Taptic Engine in a prepared state. To preserve power, the Taptic Engine stays in this state for only a short period of time (on the order of seconds), or until you next trigger feedback.\n\n```swift\nTapticKit.prepare(for: .notification(.success))\n```\n\nThen you can trigger your feedback:\n\n```swift\nTapticKit.trigger(.notification(.success))\n```\n\nFinally, you can release engine, this lets the Taptic Engine return to its idle state. It is optional.\n\n```swift\nTapticKit.release()\n```\n\nThough it's recommended to prepare before you trigger an event and to release the engine aftewards, you don't have to, if latency is not critical.\n\nAll available feedback types:\n```swift\nTapticKit.trigger(.notification(.success))\nTapticKit.trigger(.notification(.error))\nTapticKit.trigger(.notification(.warning))\n\nTapticKit.trigger(.selection)\n\nTapticKit.trigger(.impact(.light))\nTapticKit.trigger(.impact(.medium))\nTapticKit.trigger(.impact(.heavy))\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevandsev%2Ftaptickit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevandsev%2Ftaptickit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevandsev%2Ftaptickit/lists"}