Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants