---
title: "items(_:)"
framework: corespotlight
role: symbol
role_heading: Type Method
path: "corespotlight/spotlightsearchtool/contentdomain/items(_:)"
---

# items(_:)

Any items with title, text, and dates with custom attribute mapping.

## Declaration

```swift
static func items(_ config: SpotlightSearchTool.ContentDomain.Items) -> SpotlightSearchTool.ContentDomain
```

## See Also

### Getting the items domain

- [items](corespotlight/spotlightsearchtool/contentdomain/items-swift.type.property.md)
- [SpotlightSearchTool.ContentDomain.Items](corespotlight/spotlightsearchtool/contentdomain/items-swift.struct.md)
