Skip to content

SQFeedbackGenerator is a lightweight library that ports haptic feedback on iPhone 6S generation devices.

License

Notifications You must be signed in to change notification settings

mcomisso/SQFeedbackGenerator

Repository files navigation

Logo

CI Status Version License Platform

Description

This small library was written for Squirrel, a work-in-progress iOS application.
The idea came after trying Bear, an amazing note taking application, so kudos to Bear.

SQFeedbackGenerator ports UINotificationFeedbackGenerator to iPhone 6S generation devices.

It will trigger the vibration you can feel during normal 3D touch usage, such as:

  • error (example: press an app without UIApplicationShortcutItem)
  • success (example: press an app with UIApplicationShortcutItem)
  • notification (example: force press on keryboard)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

SQFeedbackGenerator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SQFeedbackGenerator"

Try it

You can try this library just by writing

pod try SQFeedbackGenerator

TODO

  • A new logo
  • ??

Author

Matteo Comisso, matteo.comisso@me.com

twitter: @teomatteo89

License

SQFeedbackGenerator is available under the MIT license. See the LICENSE file for more info.

About

SQFeedbackGenerator is a lightweight library that ports haptic feedback on iPhone 6S generation devices.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published