You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have the possibility to show a badge on a tabBar icon if needed/wanted.
The idea would be to extend TabItemStyle with a badgeNumber: Int? parameter, which would allow handling the drawing of badges. Additionally, the Tabbable protocol must also be extended with a function func badgeNumber(for item: Tabbable) -> Int?, can have a default implementation { nil }
The text was updated successfully, but these errors were encountered:
It would be nice to have the possibility to show a badge on a tabBar icon if needed/wanted.
The idea would be to extend
TabItemStyle
with abadgeNumber: Int?
parameter, which would allow handling the drawing of badges. Additionally, theTabbable
protocol must also be extended with a functionfunc badgeNumber(for item: Tabbable) -> Int?
, can have a default implementation{ nil }
The text was updated successfully, but these errors were encountered: