CADisplayLink + Data from server

The value of a variable being used for UI changes on main thread is changed mid use due to a server call . . .

https://gist.github.com/lahariganti/9dfa2e6485f22397ac9b2fd0fa47ef74

Line 26 in the gist is the problem, I am sure I am doing something silly + stupid . . . is there a simple resolve without changing the whole approach?

@lganti Do you still have issues with this?

Nope, resolved. Thanks for asking.

Update: It was due to bunch of other events firing on the main thread during App Launch.

This topic was automatically closed after 166 days. New replies are no longer allowed.