Closed Youngminah closed 2 years ago
Hello cause it’s just image fetcher. No need for use case. Also you can inject access it directly from cells
Sent from my iPhone
On 10 Feb 2022, at 12:25, Youngminah @.***> wrote:
Hi,
— Reply to this email directly, view it on GitHubhttps://github.com/kudoleh/iOS-Clean-Architecture-MVVM/issues/17, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABTYSH5L5V4A7GXTEFPANHTU2OOAVANCNFSM5OAMXCHQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thank you !!🧐🧐
https://github.com/kudoleh/iOS-Clean-Architecture-MVVM/blob/be7dcbd40e12e48a8a00f22663057b98cb3d04d4/ExampleMVVM/Presentation/MoviesScene/MoviesList/View/MoviesListViewController.swift#L19
Hi,
PosterImageRepository
directly accesses theMoviesListViewController
without going through aUseCase=(Domain)
. I'm confused by this part.fetchImage
response type is aData
, so there is no need to go through theDomain
, am i right?