SQFeedbackGenerator 0.1.1

SQFeedbackGenerator 0.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Apr 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Matteo Comisso.



SQFeedbackGenerator

Logo

Description

This small library was written for Squirrel, a work-in-progress iOS application.

SQFeedbackGenerator ports UINotificationFeedbackGenerator to iPhone 6S generation devices.

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

  • error (press an app without UIApplicationShortcutItem)
  • success (press an app with UIApplicationShortcutItem)
  • notification (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, [email protected]

twitter: @teomatteo89

License

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