---
title: "init(itemContentType:)"
framework: corespotlight
role: symbol
role_heading: Initializer
path: "corespotlight/cssearchableitemattributeset/init(itemcontenttype:)"
---

# init(itemContentType:)

Creates an attribute set for the specified content type.

## Declaration

```swift
init(itemContentType: String)
```

## Parameters

- `itemContentType`: The uniform type identifier of the content. For example, kUTTypePNG or kUTTypeMovie.

## Return Value

Return Value An attribute set that represents an item of the specified content type.
