---
title: desiredNumberOfResults
framework: fileprovider
role: symbol
role_heading: Instance Property
path: fileprovider/nsfileproviderstringsearchrequest/desirednumberofresults
---

# desiredNumberOfResults

How many results the system is requesting. This is a hint to the extension, to help avoid unnecessary work. The extension may return more results than this.

## Declaration

```swift
var desiredNumberOfResults: Int { get }
```
