Home

Awesome

Peep

Build Status Version License Platform Carthage compatible

Peep is an easy sound generator library.

$ pod try Peep

Requirements

Usage

Playing sounds is super simple.

import Peep

// play alert tone
Peep.play(sound: AlertTone.tweet)

// play key press
Peep.play(sound: KeyPress.tap)

// play haptic feedback
Peep.play(sound: HapticFeedback.selection)

// play url
Peep.play(sound: Bundle.main.url(forResource: "Success", withExtension: "m4a"))

Haptic Feedback

Add haptic feedback to Peep using Haptica.

Haptic.impact(.light).generate()

Installation

CocoaPods

To install with CocoaPods, simply add this in your Podfile:

use_frameworks!
pod "Peep"

Carthage

To install with Carthage, simply add this in your Cartfile:

github "efremidze/Peep"

Communication

Credits

License

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