![]() ![]()
This is a task assigned to my DataManager class (which is a singleton ), and it handles requests and responses. So I send a JSON representation of that object to a server, write it into database, and get a response from a server that it is recorded. I am using Swift 2.0 if that matters, so it is iOS, and I am using custom wrapper around NSURLSession and related classes to make requests.Īs an additional info I can describe how my app works: #Iswift request server timeout how toI only have a solution for the first situation, but I would be interested to hear opinion / best practices about how to solve that too. 2 is most important for me, and I don't really have an idea how to solve it. So I am trying to figure out what should I do in each of these two situations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |