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

Navigation Component #35

Open
ghost opened this issue Mar 18, 2015 · 5 comments
Open

Navigation Component #35

ghost opened this issue Mar 18, 2015 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 18, 2015

It would be great if we could wrap UINavigationController in an Navigator(Navigation Component). Not sure how what the api would be.

@joshaber
Copy link
Owner

I'm really curious to see how React Native does this.

I've (obviously) been pretty Mac-centric where I think something like this is less necessary. But on iOS it'd be really nice.

@joshaber
Copy link
Owner

@ghost
Copy link
Author

ghost commented Mar 20, 2015

Oh, it's a bit like how UINavigationController works normally. The only problem is that we don't have something like props, this is also very hard to implement right because of types. Do you have a suggestion about how we can give our sub components access to the navigator?

@joshaber
Copy link
Owner

No great ideas at the moment. A protocol could suffice though it puts the work on the user.

@ghost
Copy link
Author

ghost commented Jul 10, 2015

Maybe a approach similar to Functional view controllers from @chriseidhof is a good match with Few.

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

1 participant