-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I'd be interested to hear how lazy loading images in a tableview would be approached in this architecture? I noticed cellForRowAtIndexPath is placed in the view class, does this mean one should:
- Keep a reference to the image URL or ID in the view model (violation of the rules?)
This could then be passed back to the presenter, who could pass it to the interactor, who could pass it to the data manager, along with a completion block to display the image in the cell once it has been loaded? - Keep an array of NSManagedObjects (presumably in the datastore) and pass back the indexPath.row, with a similar completion block as above?
Would be great to hear any thoughts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels