A library of iOS system sounds for Swift packages.
This library contains dozens of built-in iOS system sounds available to use (not all sounds are available via this library). Simply pass in an enum of the sound name you would like to play to the playSound()
function.
File › Add Packages
(in Xcode) and enter https://github.com/Justintime50/SwiftSystemSounds
Add Package
import SwiftSystemSounds
// Pass in one of dozens of built-in sound names via enum
SwiftSystemSounds.playSound(sound: .buttonTap)
# Build the project
make build
# Lint the project
make lint
# Test the project
make test
Used mappings from https://github.com/TUNER88/iOSSystemSoundsLibrary to create library.
link |
Stars: 1 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics