<!--
{
  "availability" : [
    "iOS: 11.0.0 - 27.0.0",
    "iPadOS: 11.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0",
    "watchOS: 4.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INTaskList/init(title:tasks:groupName:createdDateComponents:modifiedDateComponents:identifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INTaskList(im)initWithTitle:tasks:groupName:createdDateComponents:modifiedDateComponents:identifier:"
  },
  "title" : "init(title:tasks:groupName:createdDateComponents:modifiedDateComponents:identifier:)"
}
-->

# init(title:tasks:groupName:createdDateComponents:modifiedDateComponents:identifier:)

Initializes the task list object with the specified content.

```
init(title: INSpeakableString, tasks: [INTask], groupName: INSpeakableString?, createdDateComponents: DateComponents?, modifiedDateComponents: DateComponents?, identifier: String?)
```

## Parameters

`title`

The title text that describes the task list.

`tasks`

The tasks to include in the task list.

`groupName`

The name of the group that contains the task list.

`createdDateComponents`

The date on which the task was initially created.

`modifiedDateComponents`

The last date on which the task was updated.

`identifier`

The unique identifier that your app uses to identify the task list.

## Return Value

An initialized task list object or `nil` if the object could not 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)