---
title: byWord
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/nsunderlinestyle/byword
---

# byWord

Draw the line only beneath or through words, not whitespace.

## Declaration

```swift
static var byWord: NSUnderlineStyle { get }
```

## See Also

### Getting the line style

- [single](uikit/nsunderlinestyle/single.md)
- [thick](uikit/nsunderlinestyle/thick.md)
- [double](uikit/nsunderlinestyle/double.md)
- [patternDot](uikit/nsunderlinestyle/patterndot.md)
- [patternDash](uikit/nsunderlinestyle/patterndash.md)
- [patternDashDot](uikit/nsunderlinestyle/patterndashdot.md)
- [patternDashDotDot](uikit/nsunderlinestyle/patterndashdotdot.md)
