I am working on an iOS project which the app needs to get user data from server. Once the user data is loaded It is used globally in the whole application, I mean many controllers use the user data. I do not know what the best design pattern for user data is.
I did some research but people say that should not use global state.
Could you please suggest to me how to design it properly? Thank you
Aucun commentaire:
Enregistrer un commentaire