Latest 1.0.1
Homepage https://github.com/Meniny/SystemSounds
License MIT
Platforms ios 8.0, osx 10.9
Authors

An iOS System Sounds Player Framework.

Requirements

  • iOS 8.0+
  • macOS 10.9+
  • Xcode 8 with Swift 3

Installnation

CocoaPods

pod 'SystemSounds'

Usage

import SystemSounds

let id = SystemSounds.IDs.SMSReceivedSelectionSMSReceived1
SystemSounds.play(soundID: id.rawValue)

Latest podspec

{
    "name": "SystemSounds",
    "version": "1.0.1",
    "summary": "An iOS System Sounds Player Framework.",
    "description": "SystemSounds is an iOS System Sounds Player Framework.",
    "homepage": "https://github.com/Meniny/SystemSounds",
    "license": "MIT",
    "authors": {
        "Meniny": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Meniny/SystemSounds.git",
        "tag": "1.0.1"
    },
    "social_media_url": "http://meniny.cn/",
    "platforms": {
        "ios": "8.0",
        "osx": "10.9"
    },
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "3.0"
    },
    "source_files": [
        "SystemSounds/**/*{.swift}",
        "SystemSounds/**/*{.h}"
    ],
    "public_header_files": "SystemSounds/**/*{.h}",
    "ios": {
        "frameworks": [
            "Foundation",
            "AudioToolbox",
            "UIKit"
        ]
    },
    "osx": {
        "frameworks": [
            "Foundation",
            "AudioToolbox"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This