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

# resolveTitle(for:with:)

Resolves the title of the task list.

## Declaration

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

```swift
optional func resolveTitle(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 title for a task list. Use the intent object to obtain the title, if any, suggested by the user. The title represents the name of the task list. If the intent doesn’t contain title information, choose a resolution that’s most appropriate for your app. If you can provide a default title, return a result of success with the default title string. If you don’t require a title for your task lists, you can return a result of not required.

## See Also

### Resolving the Intent Parameters

- [resolveTaskTitles(for:with:)](intents/increatetasklistintenthandling/resolvetasktitles(for:with:).md)
- [resolveGroupName(for:with:)](intents/increatetasklistintenthandling/resolvegroupname(for:with:).md)
