---
title: items
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiattachmentbehavior/items
---

# items

The dynamic items connected by the attachment behavior.

## Declaration

```swift
var items: [any UIDynamicItem] { get }
```

## Discussion

Discussion Contains two elements when used for an attachment behavior of type UIAttachmentBehavior.AttachmentType.items; contains one element when used for an attachment behavior of type UIAttachmentBehavior.AttachmentType.anchor.
