---
title: name
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uitraitdefinition-3572h/name
---

# name

A short human-readable name for the trait, e.g. for printing and debugging output. By default, the trait’s class name is used when not implemented.

## Declaration

```occ
@property (class, nonatomic, readonly) NSString * name;
```

## Mentioned in

Providing data to the view hierarchy with custom traits

## See Also

### Type Properties

- [affectsColorAppearance](uikit/uitraitdefinition-3572h/affectscolorappearance.md)
- [identifier](uikit/uitraitdefinition-3572h/identifier.md)
