Instance Property


The name assigned to the sound.


var name: NSSound.Name? { get }


The value of this property is nil when no name has been assigned.

See Also

Configuring Sounds

var volume: Float

The volume of the sound.

var currentTime: TimeInterval

The sound’s playback progress, in seconds.

var loops: Bool

A Boolean that indicates whether the sound restarts playback when it reaches the end of its content.