<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INTicketedEvent/init(category:name:eventDuration:location:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INTicketedEvent(im)initWithCategory:name:eventDuration:location:"
  },
  "title" : "init(category:name:eventDuration:location:)"
}
-->

# init(category:name:eventDuration:location:)

Creates a ticketed event object with the specified contents and attributes.

```
init(category: INTicketedEventCategory, name: String, eventDuration: INDateComponentsRange, location: CLPlacemark?)
```

## Parameters

`category`

The type of ticketed event.

`name`

The name of the event.

`eventDuration`

The date and time range that indicates the beginning and end of the event.

`location`

The name and location of the venue or place for the event.

## Return Value

A new [`INTicketedEvent`](/documentation/Intents/INTicketedEvent) object or `nil` if one can’t be created.

---

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)