Lesson 12 and 13#8
Open
GosutoDev wants to merge 48 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lesson 12
Networking layer
Finish networking layer for both APIs - jokes & images.
Create the codable models representing data from APIs.
Create routers for APIs to build URLs for networking layer.
Implement APIManager which uses URLs generated by routers and processes the
API call.
Build a service layer wrapping the APIManager calls for fetching the data.
Use the services in the views. For categories(home) screen download categories
and 5 items for every category and update the view with the data. For swiping
screen download the 10 random objects to show cards.
Create a paging system for swiping the card screen
Lesson 13
Networking layer - Firebase
Connect sign in screen on the firebase for authentication via email & password.
Implement a auth manager using FirebaseAuth. Implement 3 methods for signUp,
signIn, signOut. After the user is signed in, store data to keychain using keychain
service.
Implement firestore manager and save data about liking the jokes.
Implement heart icon over the joke if the firestore contains the information the joke
was liked.