---
title: item
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsindexpath/item
---

# item

An index number identifying an item in a section of a collection view.

## Declaration

```swift
var item: Int { get }
```

## Discussion

Discussion The section the item is in is identified by the value of section.

## See Also

### Using Special Node Names

- [init(forRow:inSection:)](foundation/nsindexpath/init(forrow:insection:).md)
- [init(forItem:inSection:)](foundation/nsindexpath/init(foritem:insection:).md)
- [section](foundation/nsindexpath/section.md)
- [row](foundation/nsindexpath/row.md)
