Skip to content

Conversation

abdoh476
Copy link

@abdoh476 abdoh476 commented Dec 8, 2020

No description provided.

@ssdjordan
Copy link

Please accept we need this added feature :)

@abdoh476
Copy link
Author

you can use this until they merge
pod 'FluidTabBarController', :git => 'https://github.com/abdoh476/FluidBottomNavigation-ios'

@ssdjordan
Copy link

Thank you a lot...

@abdoh476
Copy link
Author

This is how to make badge and put number to it
(self.tabBarController!.tabBar.items![index] as! FluidTabBarItem).isBadged = true (self.tabBarController!.tabBar.items![index] as! FluidTabBarItem).badgeNumber = "\(value.data.messagesNumber)"

you may want to handle making the badge false when clicking on the page the badge have

@ssdjordan
Copy link

Dear,
I have a compiler error when the above two lines were added.
Value of type 'FluidTabBarItem' has no member 'badgeNumber'
Value of type 'FluidTabBarItem' has no member 'isBadged'

@abdoh476
Copy link
Author

Did you put
pod 'FluidTabBarController', :git => 'https://github.com/abdoh476/FluidBottomNavigation-ios'
in your pod file then made pod install ?

@ssdjordan
Copy link

it is working fine now Thank You again :)

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