<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INObject/init(identifier:display:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INObject(im)initWithIdentifier:displayString:"
  },
  "title" : "init(identifier:display:)"
}
-->

# init(identifier:display:)

Creates a custom intent object with the specified identifier and display string.

```
convenience init(identifier: String?, display displayString: String)
```

## Parameters

`identifier`

A string that identifies the custom object within your app.

`displayString`

A string that Siri displays that describes the parameter or property.

## Return Value

A new [`INObject`](/documentation/Intents/INObject), or `nil` if the initializer couldn’t create the object.

## Discussion

---

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)