Skip to content

an iOS drag and drop library in swift to give haptic feed to user on different events using the awesomeness of Taptic engine of apple.

License

Notifications You must be signed in to change notification settings

ashwinshres/HapticFeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haptic Feedback Generator

Haptic Feedback Generator is a helper class which has been created to give haptic feedback to user on different events.

For haptic feed event type feed:

  Haptic.impact(HapticFeedbackStyle(rawValue: tag) ?? .light).generate()

For notification event type feed:

    Haptic.notification(HapticFeedbackType(rawValue: tag) ?? .error).generate()

For selection type event feed:

     Haptic.selection.generate()

About

an iOS drag and drop library in swift to give haptic feed to user on different events using the awesomeness of Taptic engine of apple.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages