---
title: "resolveTaskTitles(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/increatetasklistintenthandling/resolvetasktitles(for:with:)"
---

# resolveTaskTitles(for:with:)

Resolves the tasks in a task list.

## Declaration

```swift
optional func resolveTaskTitles(for intent: INCreateTaskListIntent, with completion: @escaping @Sendable ([INSpeakableStringResolutionResult]) -> Void)
```

```swift
optional func resolveTaskTitles(for intent: INCreateTaskListIntent) async -> [INSpeakableStringResolutionResult]
```

## Parameters

- `intent`: The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to resolve the tasks for a task list. Use the intent object to obtain the initial titles suggested by the user. If the user doesn’t supply any task titles and you don’t require an initial set of tasks, return a resolution of not required. Alternatively, you can supply a default task title and create a successful resolution.

## See Also

### Resolving the Intent Parameters

- [resolveTitle(for:with:)](intents/increatetasklistintenthandling/resolvetitle(for:with:).md)
- [resolveGroupName(for:with:)](intents/increatetasklistintenthandling/resolvegroupname(for:with:).md)
