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.
