---
title: contentUTI
framework: XcodeKit
role: symbol
role_heading: Instance Property
platforms: [macOS 10.12+]
path: xcodekit/xcsourcetextbuffer/contentuti
---

# contentUTI

The Uniform Type Identifier (UTI) of the content in the buffer.

## Declaration

```swift
var contentUTI: String { get }
```

## See Also

### Accessing Source Text

- [completeBuffer](xcodekit/xcsourcetextbuffer/completebuffer.md)
