---
title: "init(fire:)"
framework: homekit
role: symbol
role_heading: Initializer
path: "homekit/hmcalendarevent/init(fire:)"
---

# init(fire:)

Creates a calendar event which fires based on the value of the supplied date components.

## Declaration

```swift
init(fire fireDateComponents: DateComponents)
```

## Parameters

- `fireDateComponents`: Date components that specify the time at which the event fires.

## Return Value

Return Value An initialized calendar event.
