---
title: "dynamic(_:)"
framework: corespotlight
role: symbol
role_heading: Type Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: "corespotlight/spotlightsearchtool/guide/dynamic(_:)"
---

# dynamic(_:)

A guide that includes only the search techniques specified by the given profile.

## Declaration

```swift
static func dynamic(_ profile: SpotlightSearchTool.GuidanceProfile) -> SpotlightSearchTool.Guide
```

## Parameters

- `profile`: The set of search techniques and attributes the model may use.
