text(_:)
Creates a badge displaying a text.
Declaration
static func text(_ text: String) -> NSItemBadgeParameters
- text:
The text to be displayed inside the badge.
Return Value
A new NSItemBadge instance with the specified text.
Creates a badge displaying a text.
static func text(_ text: String) -> NSItemBadgeThe text to be displayed inside the badge.
A new NSItemBadge instance with the specified text.