newItems(count:)
Creates a new item-style badge with an integer count and a predefined label that represents the number of new items.
Declaration
class func newItems(count itemCount: Int) -> SelfParameters
- itemCount:
The badge count.
Return Value
Returns a new badge item of type NSMenuItemBadge.BadgeType.newItems.