-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Allow badges #19
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: