<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderServiceSource",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:objc(pl)NSFileProviderServiceSource"
  },
  "title" : "NSFileProviderServiceSource"
}
-->

# NSFileProviderServiceSource

A service that provides a custom communication channel between the host app and the File Provider extension.

```
protocol NSFileProviderServiceSource
```

## Overview

To implement a File Provider service, the [`NSFileProviderExtension`](/documentation/FileProvider/NSFileProviderExtension) subclass must override the [`supportedServiceSources(for:)`](/documentation/FileProvider/NSFileProviderExtension/supportedServiceSources(for:)) method and return the supported services.

For more information about creating services, see   <doc://com.apple.documentation/documentation/Foundation/NSFileProviderService>.

## Topics

### Accessing the Service

[`serviceName`](/documentation/FileProvider/NSFileProviderServiceSource/serviceName)

A name that uniquely identifies the service (reverse domain name notation is recommended).

[`makeListenerEndpoint()`](/documentation/FileProvider/NSFileProviderServiceSource/makeListenerEndpoint())

Returns an endpoint object that lets the host app communicate with the File Provider extension.

[`isRestricted`](/documentation/FileProvider/NSFileProviderServiceSource/isRestricted)



---

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)