M
M
mr_drinkens892018-09-28 10:04:39
Swift
mr_drinkens89, 2018-09-28 10:04:39

Offline ios app mode?

Hello.
In the application for ios, it is necessary to provide partial offline mode. That is, in the absence of the Internet, it is possible only to read all the elements of the application. How to achieve this functionality in a more efficient way?
Use Realm with Alamofire or cache responses from the server? Or another, more rational approach?
Thank you in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smanioso, 2018-09-28
@smanioso

In any case, you need to save the data for later display in the absence of access to the server. If Realm / Firebase is used, then it is quite easy to find the already described methods for solving this problem. In any other case, you will have to think and decide for yourself.
https://firebase.google.com/docs/database/ios/offl...
https://realm.io/solutions/offline-first/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question