-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add Networking module #87
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a note, I would move EmojiModel, EmojiNetworking and EmojiService to the Networking module, so the entire thing is abstracted away
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, it looks alright, but I would think that moving the networking to Alamofire will be much better, so we can write cleaner and more readable code
Networking/Sources/Networking/Services/Emoji/EmojiService.swift
Outdated
Show resolved
Hide resolved
Networking/Sources/Networking/Services/Emoji/EmojiService.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All clear!
Well, you can also try incorporating Alamofire instead of URLSession, but that's not a requirement, that's a suggestion
If you can't/don't want to do it, then don't, I will do it eventually 😅
#86
Add generic networking + add some service to open emoji api. No tests yet