---
title: weight
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsfontdescriptor/traitkey/weight
---

# weight

The normalized weight value as a number object.

## Declaration

```swift
static let weight: NSFontDescriptor.TraitKey
```

## Discussion

Discussion The value of this key is an NSNumber object. The valid value range is from -1.0 to 1.0. The value of 0.0 corresponds to the regular or medium font weight.

## See Also

### Trait Keys

- [symbolic](appkit/nsfontdescriptor/traitkey/symbolic.md)
- [width](appkit/nsfontdescriptor/traitkey/width.md)
- [slant](appkit/nsfontdescriptor/traitkey/slant.md)
