Skip to content

Starting AppCoordinator again #3

@cojoj

Description

@cojoj

Thanks for the idea and implementation, this is a great resource on how to crate a nice, maintainable and also very flexible all architecture!

I’m struggling right now with “sign out” functionality in our application. I have two coordinators: AuthCoordinator And MainCoordinator. In my AppCoordinator I start with AuthCoordinator Which later can redirect me to MainCoordinator, if authorization succeeds. The problem is that one of the ViewControllers In my MainCoordinator Has “sign out” button which should start AppCoordinator From scratch. I have no clue how to achieve this, because I want to avoid so deep dependencies between different coordinators etc.
Do you have some sort of solution for this kind of behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions