Latest 2.1.2
Homepage https://github.com/efremidze/Peep
License MIT
Platforms ios 10.0
Authors

Build Status
Version
License
Platform
Carthage compatible

Peep is an easy sound generator library.

$ pod try Peep

Requirements

  • iOS 10.0+
  • Xcode 8.0+
  • Swift 4 (Peep 2.x), Swift 3 (Peep 1.x)

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

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Credits

License

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

Latest podspec

{
    "name": "Peep",
    "version": "2.1.2",
    "summary": "Easy Sound Generator",
    "homepage": "https://github.com/efremidze/Peep",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "efremidze": "[email protected]"
    },
    "documentation_url": "https://efremidze.github.io/Peep/",
    "source": {
        "git": "https://github.com/efremidze/Peep.git",
        "tag": "2.1.2"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Sources/*.swift"
}

Pin It on Pinterest

Share This