---
title: INTask
framework: intents
role: symbol
role_heading: Class
path: intents/intask
---

# INTask

An individual task the user needs to complete.

## Declaration

```swift
class INTask
```

## Overview

Overview Use task objects to represent tasks for the user to complete. Each task object contains a description of the task, its current completion state, and any trigger conditions to remind the user to complete the task.

## Topics

### Initializing a Task Object

- [init(title:status:taskType:spatialEventTrigger:temporalEventTrigger:createdDateComponents:modifiedDateComponents:identifier:priority:)](intents/intask/init(title:status:tasktype:spatialeventtrigger:temporaleventtrigger:createddatecomponents:modifieddatecomponents:identifier:priority:).md)
- [init(title:status:taskType:spatialEventTrigger:temporalEventTrigger:createdDateComponents:modifiedDateComponents:identifier:)](intents/intask/init(title:status:tasktype:spatialeventtrigger:temporaleventtrigger:createddatecomponents:modifieddatecomponents:identifier:).md)

### Getting the Task Content

- [title](intents/intask/title.md)

### Getting the Task Completion Status

- [status](intents/intask/status.md)
- [INTaskStatus](intents/intaskstatus.md)

### Getting the Event Triggers

- [temporalEventTrigger](intents/intask/temporaleventtrigger.md)
- [spatialEventTrigger](intents/intask/spatialeventtrigger.md)

### Getting the Modification Dates

- [createdDateComponents](intents/intask/createddatecomponents.md)
- [modifiedDateComponents](intents/intask/modifieddatecomponents.md)

### Getting the Task Type

- [taskType](intents/intask/tasktype.md)
- [INTaskType](intents/intasktype.md)

### Identifying the Task

- [identifier](intents/intask/identifier.md)

### Identifying the Task Priority

- [priority](intents/intask/priority.md)

### Initializers

- [init(coder:)](intents/intask/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Task Objects

- [INTaskList](intents/intasklist.md)
