Skip to content

SrdjanSpasojevic/HapticFeedbackGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

HapticFeedbackGenerator πŸ˜ŠπŸ“±

πŸš€ Status: Plug and play

Simple FeedbackGenerator library which makes it easy to apply Haptic Feedback on certain actions in your app.

Instalation:

Just import FeedbackGenerator file into your project.

Usage:

FeedbackGenerator.generateFeedback(of: .success)

Notes:

iOS 10 or higher is required for some vibration options.

iOS 10 required options:
  • electionChange πŸ”„
  • lightImpact πŸ’‘
  • mediumImpact ⚑️
  • heavyImpact πŸ’₯
  • success βœ…
  • error ❌
  • warning ⚠️
Standard vibration options:
  • peek πŸ‘€
  • pop πŸ”΅
  • cancelled 🚫
  • tryAgain πŸ”
  • failed βŒπŸ’”

About

Written in Swift, easy to use HapticFeedbackGenerator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages