G. Abhisek
1 min readApr 21, 2019

--

Yeah, the entity is the same as models that represent our server JSON. As per me the best part to keep an entity to is Interactor. You could pass it to presenter though if you like and configure it as per view. eg. If you have a Customer model and your view only shows customer name and rating, pass only the two details to the VC. For that what you can do is probably prepare a ViewSetupModel which would only hold the values needed by the view to construct itself.

--

--

G. Abhisek
G. Abhisek

Written by G. Abhisek

Software Developer(iOS), Speaker & Writer

No responses yet