Enumeration
Badge.Category
public enum Category
Each style takes a value (Int) to be displayed
Relationships
Member Of
Badge
Badges are small status descriptors for UI elements. A badge consists of a small circle (or racetrack shape), typically containing a number that appears in proximity to another object.
Enumeration Cases
systemDefault
case systemDefault
Displays a badge with background color Red
The style of the batch adjusts based on the value passed
-
Circular: value < 10
-
Racetrack: value > 10. (Displays "99+" for value > 99)
message
case message
Displays a badge with background color Blue
The style of the batch adjusts based on the value passed
-
Circular: value < 10
-
Racetrack: value > 10. (Displays "99+" for value > 99)