-
Notifications
You must be signed in to change notification settings - Fork 119
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
How could I implement a custom action for a UITabBarItem? #74
Comments
You could do this in multiple ways:
|
Could it be possible for you to provide code example of the most appropriate way of doing it following your library style? |
Hi @felixsolorzano I would do something like I did in the demo app for the Settings button in the Navigation Bar of the first tab. This Settings button is handled by the Stepper of the WishlistFlow. Take a look at the WishlistStepper inside the WishlistFlow. |
Hi @felixsolorzano Have you looked at the demo app ? |
Hi @felixsolorzano May I close this issue ? |
As you said, the stepper could be the tabBarController's delegate, the only thing I'm kinda disagree is that it's a non rx way to do it. |
I reviewed the code from RxFlowDemo, but there's no example of how to handle a custom action from a UITabBarController.
To handle a custom action we commonly implement the following function from
UITabBarControllerDelegate
:How would this be done in RxFlow?
The text was updated successfully, but these errors were encountered: