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

UITabBar subclass #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

timothycosta
Copy link

I just expanded on what you did and added support for the tab bar as well. Thanks for your useful library!

@dukuo
Copy link

dukuo commented Oct 7, 2013

I'm sorry if I leave this in the wrong thread, but how can I add the CRNavigationController when using Storyboard?

@shaymargolis
Copy link
Contributor

Change the class of the UINavigationController to CRNavigationController, in the Storyboard.

@vstepanyuk
Copy link

Change the class of the UINavigationController to CRNavigationController, in the Storyboard.

It's not working because from storyboard it's use - (id)initWithCoder:(NSCoder *)aDecoder method.

Any other solution?

@Ziewvater
Copy link

Change the class of the UINavigationController to CRNavigationController, in the Storyboard.
It's not working because from storyboard it's use - (id)initWithCoder:(NSCoder *)aDecoder method.

Any other solution?

What worked for me was to change both the navigation controller's class to CRNavigationController and change the navigation controller's navigation bar's class to CRNavigationBar. I did not have to implement a custom initWithCoder for it to work with storyboards this way.

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.

None yet

5 participants