<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKToolPickerCustomItem/Configuration-swift.struct/init(identifier:name:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "s:So22PKToolPickerCustomItemC9PencilKitE13ConfigurationV10identifier4nameAESS_SStcfc"
  },
  "title" : "init(identifier:name:)"
}
-->

# init(identifier:name:)

Create a new configuration with an identifier and a name.

```
init(identifier: String, name: String)
```

## Parameters

`identifier`

A string that uniquely identifies the tool in the picker, such as `com.example.example-company.custom-tool`.

`name`

A short string to show as the name of the tool in the UI.

---

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)