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

# newItems(count:)

Creates a new item-style badge with an integer count and a predefined label that represents the number of new items.

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

## Parameters

`itemCount`

The badge count.

## Return Value

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

---

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)