---
title: "init(targetNote:content:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/inappendtonoteintent/init(targetnote:content:)"
---

# init(targetNote:content:)

Initializes the intent object with the specified note and content.

## Declaration

```swift
init(targetNote: INNote?, content: INNoteContent?)
```

## Parameters

- `targetNote`: The note to receive the additional content.
- `content`: The content to add to the note. You may specify text or image content.

## Return Value

Return Value An initialized intent object or nil if the object could not be created.

## Discussion

Discussion Normally, you don’t create instances of this class yourself. Instead, SiriKit creates instances when the user asks to append content to a note. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths.
