---
title: name
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssound/name-swift.property
---

# name

The name assigned to the sound.

## Declaration

```swift
var name: NSSound.Name? { get }
```

## Discussion

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

## See Also

### Configuring Sounds

- [NSSound.Name](appkit/nssound/name-swift.typealias.md)
- [setName(_:)](appkit/nssound/setname(_:).md)
- [volume](appkit/nssound/volume.md)
- [currentTime](appkit/nssound/currenttime.md)
- [loops](appkit/nssound/loops.md)
- [playbackDeviceIdentifier](appkit/nssound/playbackdeviceidentifier-swift.property.md)
- [NSSound.PlaybackDeviceIdentifier](appkit/nssound/playbackdeviceidentifier-swift.typealias.md)
