<!--
{
  "availability" : [
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DropConfiguration/acceptedItemCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17DropConfigurationV17acceptedItemCountSiSgvp"
  },
  "title" : "acceptedItemCount"
}
-->

# acceptedItemCount

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

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

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)