---
title: identifier
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilayoutguide/identifier
---

# identifier

A string used to identify the layout guide.

## Declaration

```swift
var identifier: String { get set }
```

## Discussion

Discussion By default, the identifier property is an empty string. Assign a nonempty string to identify this layout guide. This string appears as part of the guide’s description when the guide is printed to the console. You can also use the identifier to find a particular layout guide from among the guides owned by a view. Identifiers starting with “NS” or “UI” are reserved by the system. The system may assign these identifiers to the guides it creates.

## See Also

### Working with layout guides

- [layoutFrame](uikit/uilayoutguide/layoutframe.md)
- [owningView](uikit/uilayoutguide/owningview.md)
