---
title: fileTypes
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsfilepromisereceiver/filetypes
---

# fileTypes

An array containing types of the promised files being written to the destination location.

## Declaration

```swift
var fileTypes: [String] { get }
```

## Discussion

Discussion NSFilePromiseProvider promises one file type per item. The count of fileTypes should tell you the number of promised files in this item, but that’s not always guaranteed. Some legacy file promisers  list each unique fileType only once.

## See Also

### Instance Properties

- [fileNames](appkit/nsfilepromisereceiver/filenames.md)
