A Swift Library that makes swift-system-sound playback easy.
The system sound in AudioToolBox
must be specified numerically, but it is not clear what that numerical value should sound like.
Therefore, I have made it possible to play sounds by specifying the sound name.
It was obtained by analyzing the system file.
The following table shows the correspondence between SystemSoundID and sound names. Table of SytemSoundID and Sound Name
import SystemSound
AudioServicesPlaySystemSound(.sentMessage)
SystemSound is released under the MIT License. See LICENSE