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

Navigating from one child to another #13

Open
abbeyjackson opened this issue Sep 17, 2015 · 1 comment
Open

Navigating from one child to another #13

abbeyjackson opened this issue Sep 17, 2015 · 1 comment

Comments

@abbeyjackson
Copy link

Hi Michael, Thank you for posting this easy to understand straight forward method for using container views with multiple view controllers.

What I would like to know however, is how to navigate from child controller to child controller using buttons on the child controllers, not a button on the root view controller.

Can you help me get on the right track? So far I have not been able to figure it out.

screen shot 2015-09-17 at 12 12 02 am

@mluton
Copy link
Owner

mluton commented Sep 18, 2015

It's been a while since I've looked at this but you might want to look into delegates to call a method on the root view controller from a child. I remember doing something similar to this in the delegate branch of this project a while back. Hopefully, that will help.

https://github.com/mluton/EmbeddedSwapping/tree/delegates

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