---
title: NSFileProviderServiceName
framework: foundation
role: symbol
role_heading: Structure
path: foundation/nsfileproviderservicename
---

# NSFileProviderServiceName

The name used to identify a File Provider service.

## Declaration

```swift
struct NSFileProviderServiceName
```

## Discussion

Discussion The team providing the protocol also defines the name. To create a new service’s name: Use reverse domain name notation for the interfaces name (for example, com.example.MyInterface). (Optional) Incorporate versioning by appending a version number to the end of the name (com.example.MyInterface.v2). For more information on defining a service’s protocol, see Defining the Service’s Protocol.

## Topics

### Initializers

- [init(_:)](foundation/nsfileproviderservicename/init(_:).md)
- [init(rawValue:)](foundation/nsfileproviderservicename/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing file provider services

- [getFileProviderServicesForItem(at:completionHandler:)](foundation/filemanager/getfileproviderservicesforitem(at:completionhandler:).md)
- [NSFileProviderService](foundation/nsfileproviderservice.md)
