---
title: init()
framework: XcodeKit
role: symbol
role_heading: Initializer
platforms: [macOS 10.12+]
path: xcodekit/xcsourcetextposition/init()
---

# init()

Creates a new source text position at the beginning of the source text.

## Declaration

```swift
init()
```

## See Also

### Creating Source Text Positions

- [init(line:column:)](xcodekit/xcsourcetextposition/init(line:column:).md)
