---
title: "newItems(count:)"
framework: appkit
role: symbol
role_heading: Type Method
path: "appkit/nsmenuitembadge/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.

## Declaration

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

## Parameters

- `itemCount`: The badge count.

## Return Value

Return Value Returns a new badge item of type NSMenuItemBadge.BadgeType.newItems.

## See Also

### Creating badges of a specific type

- [alerts(count:)](appkit/nsmenuitembadge/alerts(count:).md)
- [updates(count:)](appkit/nsmenuitembadge/updates(count:).md)
- [NSMenuItemBadge.BadgeType](appkit/nsmenuitembadge/badgetype.md)
