---
title: "init(fetchAttributes:)"
framework: corespotlight
role: symbol
role_heading: Initializer
path: "corespotlight/filesource/init(fetchattributes:)"
---

# init(fetchAttributes:)

## Declaration

```swift
init(fetchAttributes: [SearchableItemAttribute] = [])
```
