---
title: acceptedItemCount
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/dropconfiguration/accepteditemcount
---

# acceptedItemCount

Specifies the number of items that the drop side wants to accept.

## Declaration

```swift
var acceptedItemCount: Int? { get set }
```

## Discussion

Discussion Some drop destinations can accept only a limited number of dropped items. On macOS, the number is displayed as a cursor badge.
