1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Passing data from modal to presenting vc using Swinject+Assembly

Discussion in 'Programming/Internet' started by Magda, Sep 12, 2018.

  1. Magda

    Magda Guest

    I'm working on a project using RxSwift + Swinject + Assembly but they are quite new to me. I'm having a modal controller for filters selection. It uses FilterViewModel with all available filters. I'm wondering how to pass selected filters to presenting view controller? I now I could cast presenting view controller to expected type and set the filters as vc's property but I would like to make it proper way using DI and assembly.

    Login To add answer/comment
     

Share This Page