---
title: "init(item:section:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/indexpath/init(item:section:)-359jo"
---

# init(item:section:)

Creates an index path that references an item in a particular section.

## Declaration

```swift
init(item: Int, section: Int)
```
