Skip to content
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

Couple of questions #3

Open
brurend opened this issue Jun 8, 2020 · 0 comments
Open

Couple of questions #3

brurend opened this issue Jun 8, 2020 · 0 comments

Comments

@brurend
Copy link

brurend commented Jun 8, 2020

Hi, I really liked the architecture used in this project, I just have a couple of questions I was hoping you could answer me.

In many places you use type(of: self) to access static constants, whats the reason or advantage to declare those as static and not just a let?

At the ItunesWebService class you parse the data you receive from the request, but you are accessing the data through key value. Any reasons to not be using Encoding/Decoding? And if it could be used, how would it work?

You only have one entity AppData, in a more complex application would you have many entities? For example, a User entity, Product entity, Department entity, etc. And if so, would this cause any major changes in any part of the structure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant