{"id":24065990,"url":"https://github.com/kharauzov/tapticeffects","last_synced_at":"2025-04-23T21:02:32.676Z","repository":{"id":218245581,"uuid":"107564519","full_name":"Kharauzov/TapticEffects","owner":"Kharauzov","description":"Class, that enables to call easily functional, built in Taptic Engine \u0026 Haptic Feedback.","archived":false,"fork":false,"pushed_at":"2017-11-10T11:55:11.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T21:02:12.370Z","etag":null,"topics":["engine","haptic","haptics","ios","swift","taptic"],"latest_commit_sha":null,"homepage":null,"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/Kharauzov.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}},"created_at":"2017-10-19T15:27:07.000Z","updated_at":"2020-10-10T15:33:29.000Z","dependencies_parsed_at":"2024-01-20T18:04:49.491Z","dependency_job_id":"b50be9b4-38ad-40ed-882b-fd47f9344679","html_url":"https://github.com/Kharauzov/TapticEffects","commit_stats":null,"previous_names":["kharauzov/tapticeffects"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kharauzov%2FTapticEffects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kharauzov%2FTapticEffects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kharauzov%2FTapticEffects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kharauzov%2FTapticEffects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kharauzov","download_url":"https://codeload.github.com/Kharauzov/TapticEffects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514770,"owners_count":21443209,"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":["engine","haptic","haptics","ios","swift","taptic"],"created_at":"2025-01-09T11:18:03.995Z","updated_at":"2025-04-23T21:02:32.643Z","avatar_url":"https://github.com/Kharauzov.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TapticEffects\nEasily generate vibrations, built in Taptic Engine \u0026amp; Haptic Feedback at your iOS apps.\n\n![Swift](https://img.shields.io/badge/Swift-4.0-orange.svg)\n![Platform](https://img.shields.io/badge/platform-iOS-lightgrey.svg)\n[![License](https://img.shields.io/badge/license-mit-blue.svg)](https://doge.mit-license.org)\n\n## Overview\nTapticEffects generates feedback vibrations using Taptic or Haptic Engine on iOS device. I don't post any example project, becasue there is no need for this. Class is simple and easy in use. It is just wrapper of [UINotificationFeedbackGenerator](https://developer.apple.com/reference/uikit/uinotificationfeedbackgenerator), [UISelectionFeedbackGenerator](https://developer.apple.com/reference/uikit/uiselectionfeedbackgenerator), [UIImpactFeedbackGenerator](https://developer.apple.com/reference/uikit/uiimpactfeedbackgenerator).\n\n## Usage\n\nTapticEffects class doesn't require any initialization at your project. You can call its methods from any place using type methods of class. \n\n```swift\n/// Performs haptic feedback - impact.\nTapticEffectsService.performFeedbackImpact(style: .medium)\n\n/// Performs haptic feedback - selection.\nTapticEffectsService.performFeedbackSelection()\n\n/// Performs taptic feedback based on 'TapticEngineFeedbackIdentifier'.\nTapticEffectsService.performTapticFeedback(from: TapticEffectsService.TapticEngineFeedbackIdentifier.peek)\n\n/// Available Identifiers\n\n/// 'Peek' feedback (weak boom)\ncase peek = 1519\n/// 'Pop' feedback (strong boom)\ncase pop = 1520\n/// 'Cancelled' feedback (three sequential weak booms)\ncase cancelled = 1521\n/// 'Try Again' feedback (week boom then strong boom)\ncase tryAgain = 1102\n/// 'Failed' feedback (three sequential strong booms)\ncase failed = 1107\n\n```\n\n## Requirements\n- Swift 3.0+\n- iOS 10.0+ \n- iPhone 6s or higher\n\n## Installation\n\n### Manually\nJust download and drop `TapticEffectsService.swift` class into your project.\n\n## License\nTapticEffects is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkharauzov%2Ftapticeffects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkharauzov%2Ftapticeffects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkharauzov%2Ftapticeffects/lists"}