-
Notifications
You must be signed in to change notification settings - Fork 1
My initial review on your code #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ze is unused anyway…
+ naming conventions and logic
Put it in Dependencies.swift, could have moved it to a files in `Globals/` folder instead, ultimate goal is to make it easily extractable to later find a way to not commit it at all
Though this doesn't solve the problem that it shouldn't be the responsibility of the View layer to load an image and that it's gonna lead to cell recycling bugs
328696b to
95f29d0
Compare
95f29d0 to
b7c8d74
Compare
and SessionSpy doesn't need to inherit from URLSession
|
Added two new commits
During my shower thoughts, I realised that my suggestion and fix of moving the apiKey to your PS: If you wanted to add a test to check that the |
Here's my initial global review of your project. I've tried to read it in the same mindset I'd have been if I were a recruiter / reviewing it for an interview and taking notes along the way.
ReviewNotes.mdcontains links to the individual commits showing how to fix the things I suggestedI didn't take the time to review the Unit Tests yet though, might do that later.
Didn't really review your
ViewControllerseither, as I focused on architecture andModels,ViewModelsandNetworkLayerTL;DR:
UIImageView. That causes cell reuse bugs, and image loading and refreshing should be handled by the ViewModel layer instead anywayI'll let you go thru the long
ReviewNotes.mddoc, and thru the commits one by one, you have plenty to read 😄