---
title: "init(_:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nssharingservice/name/init(_:)"
---

# init(_:)

Creates a sharing service name using the provided string.

## Declaration

```swift
init(_ rawValue: String)
```

## Parameters

- `rawValue`: A string that contains the name of the preferred sharing service.

## See Also

### Creating a Sharing Service Name

- [init(rawValue:)](appkit/nssharingservice/name/init(rawvalue:).md)
