Provide a good explanation for VIP (Clean-Swift) Architecture

devquora
devquora

Posted On: Feb 22, 2018

 

Interactor can be directly interacted by ViewController after sending requests. The Interactor then responds to the requests by sending presenter a Response with data model. The Presenter formats data to be displayed creates a ViewModel and notifies the ViewController that it should update its View based on the ViewModel. ViewController decides when the navigation to a different scene should happen by calling a method on a Router. The Router performs setup of the next View Controller and deals with wiring, passing data and delegation setup. When compared to VIPER, the difference is that the ViewController itself contacts Router for navigation.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    IOS Interview Questions

     What is the method for preventing the QuickTime Player from capturing streaming videos of iOS 8 apps on Yosemite while screen recording is on?

    The QuickTime Player on Yosemite cannot record encrypted media by the HTTP Live Streams during screen recording. As a r..

    IOS Interview Questions

    How can a user respond or react to the state transitions on the app?

    A user can state changes in the most apt way in order to respond to the state transitions. Calling the corresponding me..

    IOS Interview Questions

    What are extra features added in iOS 9?

    Learning user habits and most importantly, acting on the information gathered has never been easier! With the excellent ..