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

Possibility to add buttons to the navigation bar #10

Open
CollinAlpert opened this issue Sep 26, 2020 · 1 comment
Open

Possibility to add buttons to the navigation bar #10

CollinAlpert opened this issue Sep 26, 2020 · 1 comment

Comments

@CollinAlpert
Copy link

Is it somehow possible to add custom buttons to the navigation bar, like one would normally do with the .navigationBarItems() method? I really love this library but this seems like something that could be very useful.

@nerdsupremacist
Copy link
Owner

Thanks for the interest in the library!

As for this problem: Hmm... It does seem like we could somehow listen to the same events of navigationBarItems and react accordingly. In case we would have to access SwiftUI internals, it might take some hacking.

Another option would be to just recreate the API. Which doesn't seem as nice. But would be simpler.

I'm a bit too busy during the week to take a look at it. I might check during the weekend, but I can't promise anything ;)

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