Comments (6)
You could do this in multiple ways:
- your stepper could also be your tabBarController's delegate and it could call "self.steps.accept(Steps.needCamera)" to trigger the navigation.
- if your tabBarController's delegate is also your TabBar ViewController and this ViewController has a ViewModel registered as a Stepper you could call a "cameraClicked" function on your ViewModel and this function could call "self.steps.accept(Steps.needCamera)" to trigger the navigation
from rxflow.
Could it be possible for you to provide code example of the most appropriate way of doing it following your library style?
from rxflow.
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.
from rxflow.
Hi @felixsolorzano
Have you looked at the demo app ?
from rxflow.
Hi @felixsolorzano
May I close this issue ?
from rxflow.
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.
from rxflow.
Related Issues (20)
- Child view controller steps HOT 5
- Please document memory management HOT 4
- CompositeStepper not calling InnerSteppers readyToEmitSteps HOT 4
- Block links are invalid HOT 1
- Something strange happening in ios14 HOT 3
- unknown dependency 'RxCocoa' in target 'RxFlow' HOT 6
- `Reactive+UIViewController`'s `dismissed` event is retaining the view controller HOT 2
- Question regarding intended behavior of FlowCoordinator's navigate(to:) function HOT 4
- Flow.rxVisible never emits `true` event when pushing view controller without animations HOT 3
- Coordinator navigate(to: ) does not override initialStep HOT 10
- How to handle opening multiple flows upon clicking a deeplink HOT 3
- Adapt step in the background causes `navigate` to be called on the same thread HOT 6
- Reentrancy anomaly on .forwardToCurrentFlow HOT 9
- Cannot step in child flow after using .multiple with .forwardToCurrentFlow, and others. HOT 1
- How to handle searchResultsController
- Child controllers are never deallocated HOT 5
- Adapt method is disposed before being completed HOT 1
- displayed is incorrect if subscription occurs when view is already on screen HOT 1
- Seeking a new maintainer HOT 8
- Initiating a step from a completion inside of a sink for Future Published (Combine) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxflow.