<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMenuItemBadge/updates(count:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMenuItemBadge(cm)updatesWithCount:"
  },
  "title" : "updates(count:)"
}
-->

# updates(count:)

Creates an update-style badge with an integer count and a predefined label that represents the number of available updates.

```
class func updates(count itemCount: Int) -> Self
```

## Parameters

`itemCount`

The badge count.

## Return Value

Returns a new badge item of type [`NSMenuItemBadge.BadgeType.updates`](/documentation/AppKit/NSMenuItemBadge/BadgeType/updates).

---

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)