---
title: "init(items:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uidynamicitemgroup/init(items:)"
---

# init(items:)

Initializes and returns a group containing the specified items.

## Declaration

```swift
init(items: [any UIDynamicItem])
```

## Parameters

- `items`: The dynamic items to include in the group. You cannot change the items in a group after initialization.

## Return Value

Return Value A new group object containing the items.
