Not sure how to delete this post, but I have it fixed... Still is an Apple issue, but I don't care like explaining since nobody will understand. Has to do with synchronous/asynchronous nature of multi-threading... The fact that there is a difference between Xcode and TestFlight (presumably App Store Apps are using the same binaries as TestFlight), that really says something... There is something causing the code to be interpreted differently, and executed at different intervals (discrepancies between Xcode and TestFlight). That should never happen... I had to post like 10 versions to TestFlight to test, since the Xcode version was working for me each time... The TestFlight interpreter/compiler/builder/whatever it is needs the patch... the Xcode version is working as expected when it comes to order of execution (in my opinion).
Topic:
Programming Languages
SubTopic:
Swift
Tags: