<!--
{
  "availability" : [
    "iOS: 11.0.0 - 27.0.0",
    "iPadOS: 11.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0",
    "watchOS: 4.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSearchForNotebookItemsIntentHandling/resolveDateSearchType(for:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INSearchForNotebookItemsIntentHandling(im)resolveDateSearchTypeForSearchForNotebookItems:withCompletion:"
  },
  "title" : "resolveDateSearchType(for:with:)"
}
-->

# resolveDateSearchType(for:with:)

Resolves how to use a date value during the search.

```
optional func resolveDateSearchType(for intent: INSearchForNotebookItemsIntent, with completion: @escaping @Sendable (INDateSearchTypeResolutionResult) -> Void)
```

```
optional func resolveDateSearchType(for intent: INSearchForNotebookItemsIntent) async -> INDateSearchTypeResolutionResult
```

## 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:

- resolutionResult: The object containing the details of your proposed resolution. For successful resolutions, create a resolution object with the search type that you support.

## Discussion

Implement this method to resolve how to use a date value when searching. Use this method to verify that you can perform a date-based search for the type specified by the [`dateSearchType`](/documentation/Intents/INSearchForNotebookItemsIntent/dateSearchType) property of the intent. If the type is [`INDateSearchType.unknown`](/documentation/Intents/INDateSearchType/unknown) or you don’t consider dates when performing the search, return a resolution indicating you don’t need the date type. Return a successful resolution if you support searching using the specified type or return a different result if you don’t support the user requested type.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)