Skip to content
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

Add badge label for buttons #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ks-simakov
Copy link

I've added an ability to set up badge text for every button and customize this label.
I've also added an ability to get current view controllers stack

@@ -77,6 +77,12 @@ - (void)viewDidLoad {
[weakSelf showAlertViewWithTitle:@"Globe"
message:@"You have chosen the globe view controller."];
} atIndex:4];

// tabBarController.badgeFont = [UIFont systemFontOfSize:10 weight:2];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please let's don't leave commented lines of code here :)

We could instead leave a comment that says:

// For more customisation of badge labels, see properties in ESTabBarController.h.

@ezescaruli
Copy link
Owner

@GigabyteTheOne This PR is good, I really apologise for the delay!

If you can have a look at the comments I wrote and fix those things, that would be awesome. I'll merge it afterwards. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants