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)
To run the example project, clone the repo, and run pod install
from the Example directory first.
SQFeedbackGenerator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SQFeedbackGenerator"
You can try this library just by writing
pod try SQFeedbackGenerator
- A new logo
- ??
Matteo Comisso, matteo.comisso@me.com
twitter: @teomatteo89
SQFeedbackGenerator is available under the MIT license. See the LICENSE file for more info.