Nowadays, most functions are handled by some third-party frameworks, such as code to quickly modify the position of the view. Nowadays, it is rare to write it yourself.
I have been paying attention to these issues recently. In fact, it does not mean that everything must be rewritten by myself. For example, network request AFN refresh MJ. Anyway, thousands of stars on GitHub can be podd down, and then encapsulated with a layer to facilitate business calls. In the business Just encapsulate and rewrite the personalized requirements.
Network requests, unified processing of headers
Encapsulated model analysis
Nowadays, most functions are handled by some third-party frameworks, such as code to quickly modify the position of the view. Nowadays, it is rare to write it yourself.
I have been paying attention to these issues recently. In fact, it does not mean that everything must be rewritten by myself. For example, network request AFN refresh MJ. Anyway, thousands of stars on GitHub can be podd down, and then encapsulated with a layer to facilitate business calls. In the business Just encapsulate and rewrite the personalized requirements.
I am doing the same thing now
In fact, there are three main parts
*Network library part
*Image cache part
*Data saving part
Other parts can be chosen by yourself.