---
title: line
framework: XcodeKit
role: symbol
role_heading: Instance Property
platforms: [macOS 10.12+]
path: xcodekit/xcsourcetextposition/line
---

# line

The vertical component of a source text position.

## Declaration

```swift
var line: Int
```

## See Also

### Inspecting Source Text Positions

- [column](xcodekit/xcsourcetextposition/column.md)
