<!--
{
  "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/INShortcutReference",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INShortcut"
  },
  "title" : "INShortcutReference"
}
-->

# INShortcutReference

An object representing an action available in your app that the system may suggest to a user or a user may add to Siri.

```
class INShortcutReference
```

## Topics

### Creating a Shortcut

[`init(intent:)`](/documentation/Intents/INShortcutReference/init(intent:))

Creates a shortcut with the specified intent.

[`init(userActivity:)`](/documentation/Intents/INShortcutReference/init(userActivity:))

Creates a shortcut with the specified user activity.

### Getting the Intent

[`intent`](/documentation/Intents/INShortcutReference/intent)

The intent that performs the action when invoking the shortcut.

### Getting the User Activity

[`userActivity`](/documentation/Intents/INShortcutReference/userActivity)

The user activity that defines the action to perform when invoking the shortcut.



---

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)