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

use custom class for open_tab_bar #794

Open
augustosamame opened this issue Sep 8, 2016 · 1 comment
Open

use custom class for open_tab_bar #794

augustosamame opened this issue Sep 8, 2016 · 1 comment

Comments

@augustosamame
Copy link

Hi. I would like to use more powerful Tab Bars by using a pod like RAMAnimatedTabBarController: https://github.com/Ramotion/animated-tab-bar

Their documentation indicates:

Set the class of the UITabBarController to RAMAnimatedTabBarController in your Storyboard or nib.
For each UITabBarItem, set the class to RAMAnimatedTabBarItem.

How would I be able to specify a custom class when using open_tab_bar in PM?

@jamonholmgren
Copy link
Owner

@augustosamame There currently isn't a way to do that, but by looking at the source you should be able to approximate it.

https://github.com/infinitered/ProMotion/blob/f872ac89eba823e9e7641a300fe29c6cb2d08204/lib/ProMotion/tabs/tabs.rb#L5-L13

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

No branches or pull requests

2 participants