Timeline for How can I make Alamofire requests progressively?
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2020 at 0:34 | comment | added | timbre timbre | this code loops, but there are many problems with this code, you probably just don't see it. There's a guaranteed crash if UI updates in callback end up not on main thread. Also why did you wrap network request in main thread asynch? It's not going to help the callback... In short I recommend to implement proper MVVP, follow some tutorial that explains how to properly organize such requests and UI update, and your problem will likely disappear on its own | |
Jan 13, 2020 at 22:06 | history | asked | Andrea Maps | CC BY-SA 4.0 |