Login required for access
In order to watch this lesson, you'll need to login to the website.
Improved Fetch Code Refactor
Instagram Firebase
In this video, I want to go ahead and introduce some additional code refactoring into our project that will clean up our current codebase. Two areas that we will be focusing on is the fetching of users and posts in our various screens. Instead of having all the code inside one giant method, we'll look at how to reduce the complexity by using a separate method for our fetch calls. Warning: If you haven't used completion blocks before, you might find the second refactoring a little difficult to understand.

Comments (18)
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
HELP & SUPPORT