Contents

updates(count:)

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

Declaration

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

Parameters

  • itemCount:

    The badge count.

Return Value

Returns a new badge item of type NSMenuItemBadge.BadgeType.updates.

See Also

Creating badges of a specific type