---
title: attachment
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkattachmentdatareader/attachment
---

# attachment

An attachment object that represents the file from which the reader is reading.

## Declaration

```swift
var attachment: HKAttachment { get }
```
