Answer the question
In order to leave comments, you need to log in
How to properly use services in a layered iOS app architecture?
I read an excellent article from robots about the layered architecture of an iOS application: habrahabr.ru/company/redmadrobot/blog/246551
There was a question regarding this item:
Services must be as autonomous as possible, which does not prevent you from building logical dependencies between them. For example, it is quite logical that the application has a service responsible for authorizing and maintaining a session with the server, and other services depend on it - they use the token provided by it to generate requests.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question