---
title: label
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldynamiclibrary/label
---

# label

A string that identifies the library.

## Declaration

```swift
var label: String? { get set }
```

## Discussion

Discussion Object and command labels are useful identifiers at runtime or when profiling and debugging your app using any Metal tool. See Naming resources and commands.

## See Also

### Identifying the library

- [device](metal/mtldynamiclibrary/device.md)
- [installName](metal/mtldynamiclibrary/installname.md)
