---
title: servicesProvider
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsapplication/servicesprovider
---

# servicesProvider

The object that provides the services the current app advertises in the Services menu of other apps.

## Declaration

```swift
var servicesProvider: Any? { get set }
```

## Return Value

Return Value The app’s service provider object.

## Discussion

Discussion The service provider performs all advertised services for the app. When another app requests a service from the current app, the app object forwards the request to its service provider. Service requests can arrive immediately after the service provider is set, so assign an object to this property only when your app is ready to receive requests.

## See Also

### Providing services

- [validRequestor(forSendType:returnType:)](appkit/nsapplication/validrequestor(forsendtype:returntype:).md)
