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

UITabBar subclass#2

Open
timothycosta wants to merge 1 commit into
croberts22:masterfrom
timothycosta:master
Open

UITabBar subclass#2
timothycosta wants to merge 1 commit into
croberts22:masterfrom
timothycosta:master

Conversation

@timothycosta

Copy link
Copy Markdown

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

@dukuo

dukuo commented Oct 7, 2013

Copy link
Copy Markdown

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

@shaymargolis

Copy link
Copy Markdown
Contributor

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

@vstepanyuk

Copy link
Copy Markdown

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
Copy Markdown

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